[PATCH v2 07/18] nios2: drop access_ok() check from __put_user()

Christoph Hellwig hch at lst.de
Thu Feb 17 22:29:44 PST 2022


On Wed, Feb 16, 2022 at 02:13:21PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> Unlike other architectures, the nios2 version of __put_user() has an
> extra check for access_ok(), preventing it from being used to implement
> __put_kernel_nofault().
> 
> Split up put_user() along the same lines as __get_user()/get_user()

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the linux-snps-arc mailing list