]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: initialize variable in brcmf_sdiod_regrl()
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Mon, 19 Sep 2016 11:09:54 +0000 (12:09 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Sep 2016 17:35:53 +0000 (20:35 +0300)
commit26305d3d7298d1ddf8fd4ce95a382aa90534f0a3
tree8ce43b57882f7e13bfaf42f46929b8e505c157ee
parentbc981641360183990de59da17f9f560f9150b801
brcmfmac: initialize variable in brcmf_sdiod_regrl()

In case of an error the variable returned is uninitialized. The caller
will probably check the error code before using it, but better assure
it is set to zero.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c