2023-11-17 08:42:35

by Xu Yilun

[permalink] [raw]
Subject: Re: [PATCH v2] drivers/fpga: use standard array-copy function

On Tue, Nov 14, 2023 at 12:19:02PM +0100, Philipp Stanner wrote:
> dfl.c utilizes memdup_user() and array_size() to copy a userspace array.
> array_size() will likely never trigger thanks to the preceeding check.


checkpatch says:

WARNING: 'preceeding' may be misspelled - perhaps 'preceding'?
#7:
array_size() will likely never trigger thanks to the preceeding check.
^^^^^^^^^^

I fixed it myself.

Acked-by: Xu Yilun <[email protected]>

Applied to for-next.

Thanks.