Re: [PATCH v3 9/9] asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols

From: Helge Deller
Date: Mon Jul 26 2021 - 04:56:12 EST


On 7/22/21 2:48 PM, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

Most architectures do not need a custom implementation, and in most
cases the generic implementation is preferred, so change the polariy
on these Kconfig symbols to require architectures to select them when
they provide their own version.

The new name is CONFIG_ARCH_HAS_{STRNCPY_FROM,STRNLEN}_USER.

The remaining architectures at the moment are: ia64, mips, parisc,
s390, um and xtensa. We should probably convert these as well, but
I was not sure how far to take this series.

Acked-by: Helge Deller <deller@xxxxxx> # parisc

Thanks!
Helge