summaryrefslogtreecommitdiffstats
path: root/kernel/futex_compat.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-29 04:07:58 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-30 23:18:41 +0200
commit8481664d373e7e2cea3ea0c2d7a06c9e939b19ee (patch)
tree83b81b68e453d8880ae92c811e4f138eb8140038 /kernel/futex_compat.c
parentNULL noise: fs/*, mm/*, kernel/* (diff)
downloadlinux-8481664d373e7e2cea3ea0c2d7a06c9e939b19ee.tar.xz
linux-8481664d373e7e2cea3ea0c2d7a06c9e939b19ee.zip
futex_compat __user annotation
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/futex_compat.c')
-rw-r--r--kernel/futex_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex_compat.c b/kernel/futex_compat.c
index ff90f049f8f6..04ac3a9e42cf 100644
--- a/kernel/futex_compat.c
+++ b/kernel/futex_compat.c
@@ -30,7 +30,7 @@ fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry,
return 0;
}
-static void __user *futex_uaddr(struct robust_list *entry,
+static void __user *futex_uaddr(struct robust_list __user *entry,
compat_long_t futex_offset)
{
compat_uptr_t base = ptr_to_compat(entry);