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

Christoph Hellwig hch at lst.de
Tue Feb 1 07:08:00 PST 2022


On Tue, Feb 01, 2022 at 05:55:36PM +0300, Sergey Matyukevich wrote:
> From: Sergey Matyukevich <sergey.matyukevich at 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 at lst.de>



More information about the linux-snps-arc mailing list