Skip to contentSkip to conversation

m68k: checksum __user annotations

PATCH In review Al Viro 1 participant 1 message Dec 22, 2005 m68k architecture

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 26/36 m68k: checksum __user annotations

From: Al Viro <[email protected]>
Date: 1135011600 -0500

---

 arch/m68k/lib/checksum.c    |    2 +-
 include/asm-m68k/checksum.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

ecd15db89bf50541015c754364b5e5d19bde9802

arch/m68k/lib/checksum.c +1 -1
index 4a5c544..cb13c6e 100644
@@ -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)
 {
 	/*
include/asm-m68k/checksum.h +1 -1
index 78860c2..17280ef 100644
@@ -25,7 +25,7 @@ unsigned int csum_partial(const unsigned
  * 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);
Signature · 1 line
0.99.9.GIT