commit | c52801a774cefed7ffeafd1141468276b6c85c3a | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Thu Jan 16 15:58:41 2020 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Fri Jul 23 14:40:01 2021 +0200 |
tree | fcbfcc457e2c61a567df29cdf3b25ce7bd4093e4 | |
parent | 2820cfdc08178c55efa1c0fa402f082ef09bfe70 [diff] |
arc: use generic strncpy/strnlen from_user Remove the arc implemenation of strncpy/strnlen and instead use the generic versions. The arc version is fairly slow because it always does byte accesses even for aligned data, and its checks for user_addr_max() differ from the generic code. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>