+ linux-wirelessKalle,
kernel test robot <lkp@xxxxxxxxx> writes:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5e857ce6eae7ca21b2055cca4885545e29228fe2
commit: 9c29da3f4e7ef9810bdfaf3d8aa5e6d2e33136f8 brcmfmac: Fix P2P
Group Formation failure via Go-neg method
date: 6 weeks ago
config: riscv-randconfig-s032-20200618 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-10-gc17b1b06-dirty
git checkout 9c29da3f4e7ef9810bdfaf3d8aa5e6d2e33136f8
# save the attached .config to linux build tree
make W=1 C=1 ARCH=riscv CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
sparse warnings: (new ones prefixed by >>)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40:
sparse: sparse: incorrect type in initializer (different base
types) @@ expected signed int [usertype] requested_dwell @@ got
restricted __le32 [usertype] dwell_time @@
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40:
sparse: expected signed int [usertype] requested_dwell
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40:
sparse: got restricted __le32 [usertype] dwell_time
Joseph, please send a followup patch to fix these.