088a6169fdae2e866069e0c6b1db64dc866d7c8d
[openwrt/staging/blocktrron.git] /
1 From 6e24dd012bfda479d0046f7995058f167e1923bc Mon Sep 17 00:00:00 2001
2 From: Ian Molton <ian@mnementh.co.uk>
3 Date: Fri, 8 Dec 2017 13:10:27 +0100
4 Subject: [PATCH] brcmfmac: whitespace fixes in brcmf_sdiod_send_buf()
5
6 Signed-off-by: Ian Molton <ian@mnementh.co.uk>
7 Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
8 [arend: mention function in patch subject]
9 Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
10 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
11 ---
12 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
16 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
17 @@ -714,6 +714,7 @@ int brcmf_sdiod_send_buf(struct brcmf_sd
18 int err;
19
20 mypkt = brcmu_pkt_buf_get_skb(nbytes);
21 +
22 if (!mypkt) {
23 brcmf_err("brcmu_pkt_buf_get_skb failed: len %d\n",
24 nbytes);
25 @@ -728,8 +729,8 @@ int brcmf_sdiod_send_buf(struct brcmf_sd
26 err = brcmf_sdiod_buff_write(sdiodev, SDIO_FUNC_2, addr, mypkt);
27
28 brcmu_pkt_buf_free_skb(mypkt);
29 - return err;
30
31 + return err;
32 }
33
34 int brcmf_sdiod_send_pkt(struct brcmf_sdio_dev *sdiodev,