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
bc1026a3
Commit
bc1026a3
authored
Nov 18, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport: avoid timespec_add, which appeared in 2.6.36
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
b0e9cfac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wr-nic-dio.c
kernel/wr-nic-dio.c
+2
-2
No files found.
kernel/wr-nic-dio.c
View file @
bc1026a3
...
...
@@ -396,10 +396,10 @@ static void wrn_trig_next_pulse(struct wrn_drvdata *drvdata,int ch,
struct
timespec
newts
;
if
(
c
->
target_channel
==
ch
)
{
c
->
prevts
=
timespec_add
(
c
->
prevts
,
c
->
delay
);
c
->
prevts
=
timespec_add
_safe
(
c
->
prevts
,
c
->
delay
);
newts
=
c
->
prevts
;
}
else
{
newts
=
timespec_add
(
*
ts
,
c
->
delay
);
newts
=
timespec_add
_safe
(
*
ts
,
c
->
delay
);
}
__wrn_new_pulse
(
drvdata
,
c
->
target_channel
,
&
newts
);
...
...
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