diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-01-16 04:59:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-17 02:21:12 -0500 |
commit | ea13dbc89caecd982500894d4238766a6bd3c8f4 (patch) | |
tree | 80b6c17a1389cbab83e13d4f5d6034a756a0e798 /kernel | |
parent | d669af9d5afb5bdb629f78d024b35e507465f570 (diff) |
[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: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/hrtimer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index f5ca61422331..f1c4155b49ac 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -641,7 +641,8 @@ schedule_hrtimer_interruptible(struct hrtimer *timer, | |||
641 | static long __sched | 641 | static long __sched |
642 | nanosleep_restart(struct restart_block *restart, clockid_t clockid) | 642 | nanosleep_restart(struct restart_block *restart, clockid_t clockid) |
643 | { | 643 | { |
644 | struct timespec __user *rmtp, tu; | 644 | struct timespec __user *rmtp; |
645 | struct timespec tu; | ||
645 | void *rfn_save = restart->fn; | 646 | void *rfn_save = restart->fn; |
646 | struct hrtimer timer; | 647 | struct hrtimer timer; |
647 | ktime_t rem; | 648 | ktime_t rem; |