[alsa-devel] [sound:topic/brcfmac-fixes 1/4] drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h:69:20: error: implicit declaration of function 'brcm_err'

kbuild test robot fengguang.wu at intel.com
Mon Feb 27 15:59:52 CET 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/brcfmac-fixes
head:   c61fbd73e341032a7843e6da9dc63414152f7381
commit: e66cb6d7f8abcc90969fa5cf0a87f12954bdee9e [1/4] brcmfmac: Do not print the firmware version as an error
config: i386-randconfig-x007-201709 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout e66cb6d7f8abcc90969fa5cf0a87f12954bdee9e
        # 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/bus.h:20:0,
                    from drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c:24:
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c: In function 'brcmf_c_preinit_dcmds':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h:69:20: error: implicit declaration of function 'brcm_err' [-Werror=implicit-function-declaration]
    #define brcmf_info brcm_err
                       ^
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c:164:2: note: in expansion of macro 'brcmf_info'
     brcmf_info("Firmware version = %s\n", buf);
     ^~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/brcm_err +69 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h

    63	#else
    64	__printf(2, 3)
    65	void __brcmf_err(const char *func, const char *fmt, ...);
    66	#define brcmf_err(fmt, ...) \
    67		__brcmf_err(__func__, fmt, ##__VA_ARGS__)
    68	/* For tracing purposes treat info messages as errors */
  > 69	#define brcmf_info brcm_err
    70	#endif
    71	
    72	#if defined(DEBUG) || defined(CONFIG_BRCM_TRACING)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 28699 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170227/bc8bd04e/attachment-0001.bin>


More information about the Alsa-devel mailing list