From: Arnd Bergmann Date: Fri, 13 Aug 2021 10:00:12 +0000 (+0200) Subject: Merge branch 'asm-generic-uaccess-7' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Tag: accepted/tizen/unified/20230118.172025~6514^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a71bfc0079762b4d3cb36dcc5fe6c23c806cfc8c;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'asm-generic-uaccess-7' of git://git./linux/kernel/git/arnd/asm-generic into asm-generic These two functions appear to be unnecessarily different between architectures, and the asm-generic version is a bit questionable, even for NOMMU architectures. Clean this up to just use the generic library version for anything that uses the generic version today. I've expanded on the patch descriptions a little, as suggested by Christoph Hellwig, but I suspect a more detailed review would uncover additional problems with the custom versions that are getting removed. I ended up adding patches for csky and microblaze as they had the same implementation that I removed elsewhere, these are now gone as well. * 'asm-generic-uaccess-7' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols asm-generic: remove extra strn{cpy_from,len}_user declarations asm-generic: uaccess: remove inline strncpy_from_user/strnlen_user s390: use generic strncpy/strnlen from_user microblaze: use generic strncpy/strnlen from_user csky: use generic strncpy/strnlen from_user arc: use generic strncpy/strnlen from_user hexagon: use generic strncpy/strnlen from_user h8300: remove stale strncpy_from_user asm-generic/uaccess.h: remove __strncpy_from_user/__strnlen_user Signed-off-by: Arnd Bergmann --- a71bfc0079762b4d3cb36dcc5fe6c23c806cfc8c