android_kernel_xiaomi_sm8350/arch/cris/arch-v32/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 v32: Update lib/checksum.S and lib/checksumcopy.S 2008-02-08 11:06:35 +01:00
checksumcopy.S CRIS v32: Update lib/checksum.S and lib/checksumcopy.S 2008-02-08 11:06:35 +01:00
csumcpfruser.S
delay.c CRIS v32: Add precise delay loops for ETRAX FS and ARTPEC-3. 2008-02-08 11:06:35 +01:00
Makefile CRIS v32: Add lib/delay to build. 2008-02-08 11:06:35 +01:00
memset.c cris: import memset.c from newlib: fixes compile error with newer (pre4.3) gcc 2008-02-14 20:58:04 -08:00
nand_init.S
spinlock.S CRIS v32: Change lib/spinlock.S to use byte operations instead of dwords. 2008-02-08 11:06:36 +01:00
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