OpenCloudOS-Kernel/arch/csky/include
Arnd Bergmann 0cd1151886 csky: use generic strncpy/strnlen from_user
Remove the csky implemenation of strncpy/strnlen and instead use the
generic versions.  The csky version is fairly slow because it always does
byte accesses even for aligned data, and it lacks a checks for
user_addr_max().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-07-23 14:40:01 +02:00
..
asm csky: use generic strncpy/strnlen from_user 2021-07-23 14:40:01 +02:00
uapi/asm csky: Fixup compile error 2021-02-27 22:04:14 +08:00