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

From: Christoph Hellwig
Date: Fri Feb 18 2022 - 01:29:54 EST


On Wed, Feb 16, 2022 at 02:13:21PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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@xxxxxx>