diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-03-04 14:29:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-04 16:35:16 -0800 |
commit | 07f2402b4adbcd0e6822ddc27953b63d4504faec (patch) | |
tree | d1fca3d0493cf7d08298951a4cf26e6c33f3733e /mm/util.c | |
parent | cee47f5a32a1b5a1c8b148e738249946e3fedb95 (diff) | |
download | op-kernel-dev-07f2402b4adbcd0e6822ddc27953b63d4504faec.zip op-kernel-dev-07f2402b4adbcd0e6822ddc27953b63d4504faec.tar.gz |
cris: correct usage of __user for copy to and from user space in lib/usercopy and uaccess.h
Function __copy_user_zeroing in arch/lib/usercopy.c had the wrong parameter
set as __user, and in include/asm-cris/uaccess.h, it was not set at all for
some of the calling functions.
This will cut the number of warnings quite dramatically when using sparse.
While we're here, remove useless CVS log and correct confusing typo.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions