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

Geert Uytterhoeven geert at linux-m68k.org
Sat Jul 24 02:44:51 PDT 2021


On Thu, Jul 22, 2021 at 2:50 PM Arnd Bergmann <arnd at kernel.org> wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> 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.
>
> Cc: "James E.J. Bottomley" <James.Bottomley at HansenPartnership.com>
> Cc: Anton Ivanov <anton.ivanov at cambridgegreys.com>
> Cc: Christian Borntraeger <borntraeger at de.ibm.com>
> Cc: Heiko Carstens <hca at linux.ibm.com>
> Cc: Helge Deller <deller at gmx.de>
> Cc: Jeff Dike <jdike at addtoit.com>
> Cc: Max Filippov <jcmvbkbc at gmail.com>
> Cc: Richard Weinberger <richard at nod.at>
> Cc: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
> Cc: Vasily Gorbik <gor at linux.ibm.com>
> Cc: linux-ia64 at vger.kernel.org
> Cc: linux-mips at vger.kernel.org
> Cc: linux-parisc at vger.kernel.org
> Cc: linux-s390 at vger.kernel.org
> Cc: linux-um at lists.infradead.org
> Cc: linux-xtensa at linux-xtensa.org
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

>  arch/m68k/Kconfig                 |  2 --

Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-um mailing list