android_kernel_xiaomi_sm8350/arch/cris/arch-v10/lib
Jesper Nilsson 07f2402b4a 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>
2008-03-04 16:35:16 -08:00
..
checksum.S CRIS v10: Remove duplicated folding of carry from lib/checksum.S, it is not needed. 2008-02-08 11:06:32 +01:00
checksumcopy.S CRIS v10: Remove duplicated folding of carry from lib/checksumcopy.S, it is not needed. 2008-02-08 11:06:32 +01:00
csumcpfruser.S
dmacopy.c
dram_init.S
hw_settings.S
Makefile
memset.c cris: import memset.c from newlib: fixes compile error with newer (pre4.3) gcc 2008-02-14 20:58:04 -08:00
old_checksum.c
string.c CRIS: Import string.c (memcpy) from newlib: fixes compile error with gcc 4 2008-03-04 16:35:13 -08:00
usercopy.c cris: correct usage of __user for copy to and from user space in lib/usercopy and uaccess.h 2008-03-04 16:35:16 -08:00