Re: [PATCH 1/5] bfa: mark symbols static where possible

From: kbuild test robot
Date: Wed Aug 03 2016 - 00:48:34 EST


Hi Arnd,

[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.7 next-20160802]
[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/Arnd-Bergmann/bfa-fix-W-1-build-warnings/20160803-122019
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

Note: the linux-review/Arnd-Bergmann/bfa-fix-W-1-build-warnings/20160803-122019 HEAD 6b97e29875c21d79abdc2be27ed0d7edb05dff6a builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/scsi/bfa/bfad.c: In function 'bfad_drv_uninit':
>> drivers/scsi/bfa/bfad.c:888:2: error: implicit declaration of function 'bfa_isr_disable' [-Werror=implicit-function-declaration]
bfa_isr_disable(&bfad->bfa);
^
cc1: some warnings being treated as errors

vim +/bfa_isr_disable +888 drivers/scsi/bfa/bfad.c

a36c61f90 Krishna Gudipati 2010-09-15 882 init_completion(&bfad->comp);
f7f73812e Maggie Zhang 2010-12-09 883 bfa_iocfc_stop(&bfad->bfa);
a36c61f90 Krishna Gudipati 2010-09-15 884 spin_unlock_irqrestore(&bfad->bfad_lock, flags);
e67143243 Krishna Gudipati 2010-03-03 885 wait_for_completion(&bfad->comp);
e67143243 Krishna Gudipati 2010-03-03 886
7725ccfda Jing Huang 2009-09-23 887 del_timer_sync(&bfad->hal_tmo);
7725ccfda Jing Huang 2009-09-23 @888 bfa_isr_disable(&bfad->bfa);
7725ccfda Jing Huang 2009-09-23 889 bfa_detach(&bfad->bfa);
7725ccfda Jing Huang 2009-09-23 890 bfad_remove_intr(bfad);
7725ccfda Jing Huang 2009-09-23 891 bfad_hal_mem_release(bfad);

:::::: The code at line 888 was first introduced by commit
:::::: 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e [SCSI] bfa: Brocade BFA FC SCSI driver

:::::: TO: Jing Huang <huangj@xxxxxxxxxxx>
:::::: CC: James Bottomley <James.Bottomley@xxxxxxx>

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

Attachment: .config.gz
Description: Binary data