* linux-next: build warning after merge of the wireless-drivers tree
@ 2017-06-15 22:25 Stephen Rothwell
2017-06-16 5:07 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2017-06-15 22:25 UTC (permalink / raw)
To: Kalle Valo, Wireless
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Arend Van Spriel
Hi all,
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")
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build warning after merge of the wireless-drivers tree
2017-06-15 22:25 linux-next: build warning after merge of the wireless-drivers tree Stephen Rothwell
@ 2017-06-16 5:07 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2017-06-16 5:07 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Wireless, Linux-Next Mailing List, Linux Kernel Mailing List,
Arend Van Spriel
Stephen Rothwell <sfr@canb.auug.org.au> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-16 5:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-15 22:25 linux-next: build warning after merge of the wireless-drivers tree Stephen Rothwell
2017-06-16 5:07 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.