diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-12 23:54:25 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-05-26 13:53:48 +0300 |
commit | 22f44150aad7a1d6b074ab6cf59abee61c7187c6 (patch) | |
tree | 8c8a2df595c7493defbba2f38af54bc96a0443dd /lib/list_sort.c | |
parent | 4b3e845a0927c5c660f38330522b8089edcd7c40 (diff) |
brcmfmac: avoid gcc-5.1 warning
gcc-5.0 gained a new warning in the fwsignal portion of the brcmfmac
driver:
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_txs_process':
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
This is a false positive, and marking the brcmf_fws_hanger_poppkt function
as 'static inline' makes the warning go away. I have checked the object
file output and while a little code gets moved around, the size of
the binary remains identical.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/list_sort.c')
0 files changed, 0 insertions, 0 deletions