Commit 31d3d760 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman

brcmfmac: Avoid build error with make W=1

[ Upstream commit 51ef7925 ]

When I run make W=1 on gcc (Debian 7.2.0-16) 7.2.0 I got an error for
the first run, all next ones are okay.

  CC [M]  drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2078: error: Cannot parse struct or union!
scripts/ recipe for target 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o' failed

Seems like something happened with W=1 and wrong kernel doc format.
As a quick fix remove dubious /** in the code.
Signed-off-by: default avatarAndy Shevchenko <>
Acked-by: default avatarArend van Spriel <>
Signed-off-by: default avatarKalle Valo <>
Signed-off-by: default avatarSasha Levin <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 1c3aae50
......@@ -2049,7 +2049,7 @@ static int brcmf_sdio_txpkt_hdalign(struct brcmf_sdio *bus, struct sk_buff *pkt)
return head_pad;
* struct brcmf_skbuff_cb reserves first two bytes in sk_buff::cb for
* bus layer usage.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment