diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-01-16 15:58:41 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-07-23 14:40:01 +0200 |
commit | 0cd1151886933d4845db02b3d09ad4df62d44c50 (patch) | |
tree | 7bbb1b55377bf71c49f966b8d0f67a715d83caa5 /arch/microblaze/lib | |
parent | c52801a774cefed7ffeafd1141468276b6c85c3a (diff) | |
download | linux-stable-0cd1151886933d4845db02b3d09ad4df62d44c50.tar.gz linux-stable-0cd1151886933d4845db02b3d09ad4df62d44c50.tar.bz2 linux-stable-0cd1151886933d4845db02b3d09ad4df62d44c50.zip |
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>
Diffstat (limited to 'arch/microblaze/lib')
0 files changed, 0 insertions, 0 deletions