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

Re: [PATCH v3 5/9] csky: use generic strncpy/strnlen from_user

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

On Thu, Jul 22, 2021 at 02:48:10PM +0200, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@arndb.de>

Remove the csky implemenation of strncpy/strnlen and instead use the
generic versions.  The csky version is fairly slow because it always does
byte accesses even for aligned data, and it lacks a checks for
user_addr_max().
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