Skip to content
Commit e93a1cb8 authored by Heiko Carstens's avatar Heiko Carstens Committed by Arnd Bergmann
Browse files

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 f5c8b960 ("s390/uaccess: use sane length for
__strncpy_from_user()").

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent b26b1816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment