Re: [RFC PATCH 1/3] arc: use BUILD_BUG for invalid sizes in get_user/put_user

Christoph Hellwig
2022-02-01T15:25:46Z

On Tue, Feb 01, 2022 at 05:55:36PM +0300, Sergey Matyukevich wrote:
> From: Sergey Matyukevich <sergey.matyukevich@synopsys.com>
>
> Use BUILD_BUG for compile-time check of invalid sizes passed
> to get_user/put_user functions.

Looks good:

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