brcmfmac: fix initialization of struct cfg80211_inform_bss variable
authorFranky Lin <franky.lin@broadcom.com>
Tue, 15 May 2018 09:14:44 +0000 (11:14 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 May 2018 15:03:35 +0000 (18:03 +0300)
commit763ece85f45a6b93268e25a0abf02922f911dab4
tree31c3950aaab462296a662dbb83924167ff6c72a7
parent66cffd6daab76caebab26eb803b92182414fc182
brcmfmac: fix initialization of struct cfg80211_inform_bss variable

This patch fixes a sparse warning "Using plain integer as NULL pointer"
about cfg80211_inform_bss structure initialization.

Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Franky Lin <franky.lin@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/cfg80211.c