Re: [PATCH][next] wil6210: Avoid the use of one-element array
From: Kalle Valo <hidden>
Date: 2020-08-14 14:47:56
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2020-08-14 14:47:56
Also in:
lkml, netdev
"Gustavo A. R. Silva" [off-list ref] 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 <redacted> Link: https://github.com/GustavoARSilva/linux-hardening/blob/master/cii/0-day/wil6210-20200715.md Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Kalle Valo <redacted>
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