* drivers/scsi/scsi_scan.c:100:6: sparse: sparse: symbol 'scsi_scan_type' was not declared. Should it be static?
@ 2021-11-17 19:32 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-17 19:32 UTC (permalink / raw)
To: Bart Van Assche; +Cc: kbuild-all, linux-kernel, Martin K. Petersen
[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ee1703cda8dc777e937dec172da55beaf1a74919
commit: a19a93e4c6a98c9c0f2f5a6db76846f10d7d1f85 scsi: core: pm: Rely on the device driver core for async power management
date: 5 weeks ago
config: sparc64-randconfig-s031-20211116 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a19a93e4c6a98c9c0f2f5a6db76846f10d7d1f85
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a19a93e4c6a98c9c0f2f5a6db76846f10d7d1f85
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc64 SHELL=/bin/bash drivers/ata/ drivers/scsi/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/scsi/scsi_scan.c:100:6: sparse: sparse: symbol 'scsi_scan_type' was not declared. Should it be static?
vim +/scsi_scan_type +100 drivers/scsi/scsi_scan.c
21db1882f79a1ad Matthew Wilcox 2006-11-22 99
1d64508810d8d15 Hannes Reinecke 2016-03-17 @100 char scsi_scan_type[7] = SCSI_SCAN_TYPE_DEFAULT;
3e082a910d217b2 Matthew Wilcox 2006-09-28 101
:::::: The code at line 100 was first introduced by commit
:::::: 1d64508810d8d15867251c75a68d7250278ce2bd scsi: disable automatic target scan
:::::: TO: Hannes Reinecke <hare@suse.de>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37113 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-17 19:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 19:32 drivers/scsi/scsi_scan.c:100:6: sparse: sparse: symbol 'scsi_scan_type' was not declared. Should it be static? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome