Search Linux Wireless

Re: [PATCH 5/6] brcmfmac: modify all brcmf_err calls adding struct brcmf_pub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rafał,

[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on next-20170124]
[cannot apply to v4.10-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Rafa-Mi-ecki/brcmfmac-switch-to-C-function-__brcmf_err-for-printing-errors/20170125-033714
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c:25:0:
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c: In function 'brcmf_cfg80211_vndr_cmds_dcmd_handler':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h:53:2: warning: 'pub' may be used uninitialized in this function [-Wmaybe-uninitialized]
     __brcmf_err(pub, __func__, fmt, ##__VA_ARGS__)
     ^~~~~~~~~~~
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c:36:20: note: 'pub' was declared here
     struct brcmf_pub *pub;
                       ^~~
--
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_verifymemory':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:3212:26: error: 'bus' undeclared (first use in this function)
     struct brcmf_pub *pub = bus->sdiodev->bus_if->drvr;
                             ^~~
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:3212:26: note: each undeclared identifier is reported only once for each function it appears in

vim +/bus +3212 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c

  3206	
  3207	#ifdef DEBUG
  3208	static bool
  3209	brcmf_sdio_verifymemory(struct brcmf_sdio_dev *sdiodev, u32 ram_addr,
  3210				u8 *ram_data, uint ram_sz)
  3211	{
> 3212		struct brcmf_pub *pub = bus->sdiodev->bus_if->drvr;
  3213		char *ram_cmp;
  3214		int err;
  3215		bool ret = true;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux