]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cris: correct usage of __user for copy to and from user space in lib/usercopy and...
authorJesper Nilsson <jesper.nilsson@axis.com>
Tue, 4 Mar 2008 22:29:23 +0000 (14:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:16 +0000 (16:35 -0800)
commit07f2402b4adbcd0e6822ddc27953b63d4504faec
treed1fca3d0493cf7d08298951a4cf26e6c33f3733e
parentcee47f5a32a1b5a1c8b148e738249946e3fedb95
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>
arch/cris/arch-v10/lib/usercopy.c
arch/cris/arch-v32/lib/usercopy.c
include/asm-cris/uaccess.h