summaryrefslogtreecommitdiff
path: root/include/asm-generic/uaccess.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-07-22 23:07:30 +0300
committerArnd Bergmann <arnd@arndb.de>2021-07-28 00:01:13 +0300
commite93a1cb8d2b3dccd31bde77373c8d5619f0e0a10 (patch)
treec605308a2391826c39e9bd262262af33bb3f4895 /include/asm-generic/uaccess.h
parentb26b181651f3214fa2383411fb85029b7f3e1788 (diff)
downloadlinux-e93a1cb8d2b3dccd31bde77373c8d5619f0e0a10.tar.xz
s390: use generic strncpy/strnlen from_user
The s390 variant of strncpy_from_user() is slightly faster than the generic variant, however convert to the generic variant now to follow most if not all other architectures. Converting to the generic variant was already considered a couple of years ago. See commit f5c8b9601036 ("s390/uaccess: use sane length for __strncpy_from_user()"). Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic/uaccess.h')
0 files changed, 0 insertions, 0 deletions