BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
301f888a
Commit
301f888a
authored
Sep 27, 2018
by
Ashish Syal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix overflow warning in rtc_sync module
parent
9f01dc92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rtc_sync.c
linux_kernel_modules/rtc_sync/rtc_sync.c
+2
-2
No files found.
linux_kernel_modules/rtc_sync/rtc_sync.c
View file @
301f888a
...
...
@@ -114,8 +114,8 @@ static int systohc(struct timespec now)
static
int
time_check
(
void
*
data
)
{
while
(
!
kthread_should_stop
())
{
const
long
long
expected_delta_ns
=
10
*
NSEC_PER_SEC
;
long
timeout
=
10
*
HZ
;
const
long
long
expected_delta_ns
=
10
LL
*
NSEC_PER_SEC
;
long
timeout
=
10
L
*
HZ
;
struct
timespec
before
;
struct
timespec
after
;
long
long
delta_ns
;
...
...
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