[PATCH] m68k: checksum __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 12 Jan 2006 09:06:28 +0000 (01:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:09:03 +0000 (09:09 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68k/lib/checksum.c
include/asm-m68k/checksum.h

index 4a5c5445c610fe42d92963ffb1cb7e2c85892b75..cb13c6e3ccaeb6449dd2d99898f9e1ee53eb50d5 100644 (file)
@@ -134,7 +134,7 @@ EXPORT_SYMBOL(csum_partial);
  */
 
 unsigned int
-csum_partial_copy_from_user(const unsigned char *src, unsigned char *dst,
+csum_partial_copy_from_user(const unsigned char __user *src, unsigned char *dst,
                            int len, int sum, int *csum_err)
 {
        /*
index 78860c20db01b29260b000868a84ee6bdc771b30..17280ef719f561844a67fe4ffe233f108cdd7867 100644 (file)
@@ -25,7 +25,7 @@ unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum)
  * better 64-bit) boundary
  */
 
-extern unsigned int csum_partial_copy_from_user(const unsigned char *src,
+extern unsigned int csum_partial_copy_from_user(const unsigned char __user *src,
                                                unsigned char *dst,
                                                int len, int sum,
                                                int *csum_err);