Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
brcmfmac: fix uninitialized warning in brcmf_usb_probe_phase2()
This fixes the following 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); Fixes: 6d0507a ("brcmfmac: add parameter to pass error code in firmware callback") Cc: Stephen Rothwell <[email protected]> Reported-by: Kalle Valo <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
- Loading branch information