* drivers/ata/libata-sata.c:925:18: sparse: sparse: symbol 'ata_ncq_sdev_attrs' was not declared. Should it be static?
@ 2021-11-17 21:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-17 21:03 UTC (permalink / raw)
To: Bart Van Assche; +Cc: kbuild-all, linux-kernel, Martin K. Petersen
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ee1703cda8dc777e937dec172da55beaf1a74919
commit: c3f69c7f629ff53c75f335754ea41426b8e095de scsi: ata: Switch to attribute groups
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=c3f69c7f629ff53c75f335754ea41426b8e095de
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c3f69c7f629ff53c75f335754ea41426b8e095de
# 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/
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/ata/libata-sata.c:925:18: sparse: sparse: symbol 'ata_ncq_sdev_attrs' was not declared. Should it be static?
--
>> drivers/ata/libahci.c:134:18: sparse: sparse: symbol 'ahci_sdev_attrs' was not declared. Should it be static?
vim +/ata_ncq_sdev_attrs +925 drivers/ata/libata-sata.c
924
> 925 struct attribute *ata_ncq_sdev_attrs[] = {
926 &dev_attr_unload_heads.attr,
927 &dev_attr_ncq_prio_enable.attr,
928 &dev_attr_ncq_prio_supported.attr,
929 NULL
930 };
931
---
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 21:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 21:03 drivers/ata/libata-sata.c:925:18: sparse: sparse: symbol 'ata_ncq_sdev_attrs' 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
all inboxes | Powered by JetHome®