Re: linux-next: build warning after merge of the wireless-drivers tree

From: Kalle Valo
Date: Fri Jun 16 2017 - 01:07:42 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:

> After merging the wireless-drivers tree, today's linux-next build
> (x86_64 allmodconfig) produced this warning:
>
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c: In function
> 'brcmf_usb_probe_phase2':
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c:1198:2:
> warning: 'devinfo' may be used uninitialized in this function
> [-Wmaybe-uninitialized]
> mutex_unlock(&devinfo->dev_init_lock);
> ^
>
> Introduced by commit
>
> 6d0507a777fb ("brcmfmac: add parameter to pass error code in firmware callback")

Thanks, for the report. I also noticed this, only after I had applied
the patch, but hopefully Arend sends a patch to fix this soon.

--
Kalle Valo