Re: [PATCH 09/19] staging/wilc1000: move init/exit functions to driver files

From: kbuild test robot
Date: Tue Nov 17 2015 - 04:28:46 EST


Hi Arnd,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20151117]
[cannot apply to v4.4-rc1]

url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/staging-wilc1000-cleanups/20151116-221148
config: x86_64-randconfig-s1-11171709 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Arnd-Bergmann/staging-wilc1000-cleanups/20151116-221148 HEAD 4f5bc10a2d185cc4ec5ab4741a5b3c6badbd4773 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/staging/wilc1000/linux_wlan.c: In function 'wilc_netdev_init':
>> drivers/staging/wilc1000/linux_wlan.c:1513:26: error: 'wilc_spi_dev' undeclared (first use in this function)
wilc_dev->wilc_spidev = wilc_spi_dev;
^
drivers/staging/wilc1000/linux_wlan.c:1513:26: note: each undeclared identifier is reported only once for each function it appears in

vim +/wilc_spi_dev +1513 drivers/staging/wilc1000/linux_wlan.c

c5c77ba1 Johnny Kim 2015-05-11 1507
c5c77ba1 Johnny Kim 2015-05-11 1508 #ifndef WILC_SDIO
412cfe78 Arnd Bergmann 2015-11-16 1509 if (!wilc_spi_init()) {
c5c77ba1 Johnny Kim 2015-05-11 1510 PRINT_ER("Can't initialize SPI\n");
98b89847 Leo Kim 2015-11-05 1511 return -1;
c5c77ba1 Johnny Kim 2015-05-11 1512 }
412cfe78 Arnd Bergmann 2015-11-16 @1513 wilc_dev->wilc_spidev = wilc_spi_dev;
c5c77ba1 Johnny Kim 2015-05-11 1514 #else
412cfe78 Arnd Bergmann 2015-11-16 1515 wilc_dev->wilc_sdio_func = wilc_sdio_func;
c5c77ba1 Johnny Kim 2015-05-11 1516 #endif

:::::: The code at line 1513 was first introduced by commit
:::::: 412cfe7872b71d3699593bb3afd7ad804bd57c7a staging/wilc1000: use proper naming for global symbols

:::::: TO: Arnd Bergmann <arnd@xxxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data