Re: [RFH] wireless-next: fix new W=1 warnings

From: Kalle Valo
Date: Tue Oct 17 2023 - 11:32:00 EST


Arend van Spriel <aspriel@xxxxxxxxx> writes:

> On October 9, 2023 9:10:11 AM Kalle Valo <kvalo@xxxxxxxxxx> wrote:
>
>> Hi,
>>
>> During the weekend we updated wireless-next tree from v6.5 to v6.6-rc4+.
>> It looks like a new warning was enabled for v6.6 as I see with GCC 13.2
>> and W=1 several warnings (list below). In v6.5 wireless code was still
>> W=1 warning free with GCC.
>
> Can't say I am a big fan of this new warning, but I will look at the
> brcmfmac related warnings.

I already sent a patch, please take a look:

https://patchwork.kernel.org/project/linux-wireless/patch/20231012135854.3473332-1-kvalo@xxxxxxxxxx/

> Btw. is it possible to opt out per driver.

Usually that's not preferred.

--
https://patchwork.kernel.org/project/linux-wireless/list/

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