Re: [PATCH][next] wil6210: Avoid the use of one-element array

From: Kalle Valo
Date: Fri Aug 14 2020 - 10:47:56 EST


"Gustavo A. R. Silva" <gustavoars@xxxxxxxxxx> wrote:

> One-element arrays are being deprecated[1]. Replace the one-element
> array with a simple value type 'u8 reserved'[2], once this is just
> a placeholder for alignment.
>
> [1] https://github.com/KSPP/linux/issues/79
> [2] https://github.com/KSPP/linux/issues/86
>
> Tested-by: kernel test robot <lkp@xxxxxxxxx>
> Link: https://github.com/GustavoARSilva/linux-hardening/blob/master/cii/0-day/wil6210-20200715.md
> Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

I agree with Johannes, I don't see the point of this patch as there are
no clear benefits.

Patch set to Rejected.

--
https://patchwork.kernel.org/patch/11666325/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches