summaryrefslogtreecommitdiffstats
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2013-11-29 23:00:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-12-02 13:11:52 -0500
commit019b952843673fa6616d73335b9c27acb43ddeff (patch)
tree58031504bde5d4d9d43980be5acba7526c9b423b /net/mac80211/scan.c
parent3469adb36c41a1fc0217802fa734d4220712e9c2 (diff)
downloadtalos-obmc-linux-019b952843673fa6616d73335b9c27acb43ddeff.tar.gz
talos-obmc-linux-019b952843673fa6616d73335b9c27acb43ddeff.zip
brcmfmac: fix uninitialized warning
Building brcmfmac for sparc64 gave the following warning: CC [M] drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.o bcmsdh_sdmmc.c: In function 'brcmf_sdioh_request_byte': bcmsdh_sdmmc.c:89:6: warning: 'err_ret' may be used uninitialized in this function [-Wuninitialized] Inspecting the code it indeed had a path of execution in which the return value was used uninitialized. This patch fixes that code path. Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Franky Lin <frankyl@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/scan.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud