Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC - Software
Commits
29998c19
Commit
29998c19
authored
Apr 02, 2019
by
Miguel Jimenez Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr_nic/endpoint: Add missed else macro case for kernels newer than 4.15.
parent
fd5be1f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
endpoint.c
kernel/wr_nic/endpoint.c
+2
-0
No files found.
kernel/wr_nic/endpoint.c
View file @
29998c19
...
...
@@ -230,6 +230,8 @@ int wrn_ep_open(struct net_device *dev)
/* Prepare the timer for link-up notifications */
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
setup_timer
(
&
ep
->
ep_link_timer
,
wrn_ep_check_link
,
timerarg
);
#else
timer_setup
(
&
ep
->
ep_link_timer
,
wrn_ep_check_link
,
0
);
#endif
/* Not on spec. On spec this part of the function is never reached
* due to return in if(WR_IS_NODE) */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment