Thread (28 messages) 28 messages, 8 authors, 2021-08-14

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

From: Christoph Hellwig <hch@lst.de>
Date: 2021-07-22 13:04:43
Also in: linux-mips, linux-s390, linux-um, lkml

On Thu, Jul 22, 2021 at 02:48:14PM +0200, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@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.
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help