diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2020-01-16 17:58:41 +0300 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2021-07-23 15:40:01 +0300 |
| commit | c52801a774cefed7ffeafd1141468276b6c85c3a (patch) | |
| tree | fcbfcc457e2c61a567df29cdf3b25ce7bd4093e4 /tools/lib/api/debug.c | |
| parent | 2820cfdc08178c55efa1c0fa402f082ef09bfe70 (diff) | |
| download | linux-c52801a774cefed7ffeafd1141468276b6c85c3a.tar.xz | |
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>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions
