diff options
| author | Arnd Bergmann <[email protected]> | 2020-01-16 15:58:41 +0100 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2021-07-23 14:40:01 +0200 |
| commit | c52801a774cefed7ffeafd1141468276b6c85c3a (patch) | |
| tree | fcbfcc457e2c61a567df29cdf3b25ce7bd4093e4 /drivers/usb/cdns3/cdns3-ep0.c | |
| 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 <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions