[PATCH] __user annotations: loop.c
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:48:27 +0000 (22:48 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:23 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/loop.c

index 19a09a1..beab6d2 100644 (file)
@@ -1187,7 +1187,7 @@ struct compat_loop_info {
  * - noinlined to reduce stack space usage in main part of driver
  */
 static noinline int
-loop_info64_from_compat(const struct compat_loop_info *arg,
+loop_info64_from_compat(const struct compat_loop_info __user *arg,
                        struct loop_info64 *info64)
 {
        struct compat_loop_info info;