diff options
author | Ian Molton <ian@mnementh.co.uk> | 2017-11-13 21:35:45 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-12-07 15:10:55 +0200 |
commit | 3508a056a1f45d95c874fc9af8748bf4229432b6 (patch) | |
tree | 27ff1ce1e39f436ff8b7997215f697a32ef99247 /drivers | |
parent | 993a98a42e6e790fd0d2bf7d55a031513c7ba7dc (diff) | |
download | linux-3508a056a1f45d95c874fc9af8748bf4229432b6.tar.bz2 |
brcmfmac: Fix asymmetric IO functions.
Unlikely to be a problem, but brcmf_sdiod_regrl() is
not symmetric with brcmf_sdiod_regrb() in initializing
the data value on stack. Fix that.
Signed-off-by: Ian Molton <ian@mnementh.co.uk>
[arend: reword the commit message a bit]
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c index bb2ebe68a7e9..e89e2424d0ae 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c @@ -383,7 +383,7 @@ u8 brcmf_sdiod_regrb(struct brcmf_sdio_dev *sdiodev, u32 addr, int *ret) u32 brcmf_sdiod_regrl(struct brcmf_sdio_dev *sdiodev, u32 addr, int *ret) { - u32 data = 0; + u32 data; int retval; brcmf_dbg(SDIO, "addr:0x%08x\n", addr); |