[PATCH] m68k: checksum __user annotations

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>
This commit is contained in:
Al Viro 2006-01-12 01:06:28 -08:00 committed by Linus Torvalds
parent 350c20a6fd
commit 6225d85f17
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ EXPORT_SYMBOL(csum_partial);
*/ */
unsigned int 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) int len, int sum, int *csum_err)
{ {
/* /*

View File

@ -25,7 +25,7 @@ unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum)
* better 64-bit) boundary * 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, unsigned char *dst,
int len, int sum, int len, int sum,
int *csum_err); int *csum_err);