Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Snippets Groups Projects
Commit ea13dbc8 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[PATCH] kernel/hrtimer.c sparse warning fix


fix the following sparse warning:

 kernel/hrtimer.c:665:34: warning: incorrect type in argument 2 (different address spaces)
 kernel/hrtimer.c:665:34:    expected void const *from
 kernel/hrtimer.c:665:34:    got struct timespec [noderef] *<noident><asn:1>
 kernel/hrtimer.c:664:2: warning: dereference of noderef expression

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d669af9d
Branches
No related tags found
No related merge requests found
...@@ -641,7 +641,8 @@ schedule_hrtimer_interruptible(struct hrtimer *timer, ...@@ -641,7 +641,8 @@ schedule_hrtimer_interruptible(struct hrtimer *timer,
static long __sched static long __sched
nanosleep_restart(struct restart_block *restart, clockid_t clockid) nanosleep_restart(struct restart_block *restart, clockid_t clockid)
{ {
struct timespec __user *rmtp, tu; struct timespec __user *rmtp;
struct timespec tu;
void *rfn_save = restart->fn; void *rfn_save = restart->fn;
struct hrtimer timer; struct hrtimer timer;
ktime_t rem; ktime_t rem;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment