FROMLIST: 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)
committerDmitry Shmidt <dimitrysh@google.com>
Wed, 16 May 2018 19:54:14 +0000 (12:54 -0700)
commitaa9d23da410cef1d9e2c0a72298482bc9da8da5b
treea21f5c7529aa0ac2ca4b41b605ffe92e546baf0d
parente7c99f0a2ec5067259b68bc99de16baf9bfae404
FROMLIST: 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>
(cherry picked from commit 763ece85f45a6b93268e25a0abf02922f911dab4)

Change-Id: If5a64df0fcaeb56435678a142b71a33e4f3e45b2
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c