Skip to content

Commit

Permalink
[PATCH] m68k: checksum __user annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 12, 2006
1 parent 350c20a commit 6225d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/m68k/lib/checksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
/*
Expand Down
2 changes: 1 addition & 1 deletion include/asm-m68k/checksum.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6225d85

Please sign in to comment.