tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/ide.git master head: 6a0033457f2380852a3a4138d4c79571a5b51be6 commit: 6a0033457f2380852a3a4138d4c79571a5b51be6 [1/1] drivers/ide: convert to list_for_each_entry_safe() config: parisc-generic-64bit_defconfig (attached as .config) compiler: hppa64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 6a0033457f2380852a3a4138d4c79571a5b51be6 # save the attached .config to linux build tree GCC_VERSION=9.3.0 make.cross ARCH=parisc If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/ide/ide-scan-pci.c: In function 'ide_scan_pcibus': >> drivers/ide/ide-scan-pci.c:104:13: error: incompatible type for argument 1 of 'list_del' 104 | list_del(d->node); | ~^~~~~~ | | | struct list_head In file included from include/linux/module.h:12, from drivers/ide/ide-scan-pci.c:12: include/linux/list.h:144:47: note: expected 'struct list_head *' but argument is of type 'struct list_head' 144 | static inline void list_del(struct list_head *entry) | ~~~~~~~~~~~~~~~~~~^~~~~ vim +/list_del +104 drivers/ide/ide-scan-pci.c 80 81 /** 82 * ide_scan_pcibus - perform the initial IDE driver scan 83 * 84 * Perform the initial bus rather than driver ordered scan of the 85 * PCI drivers. After this all IDE pci handling becomes standard 86 * module ordering not traditionally ordered. 87 */ 88 89 static int __init ide_scan_pcibus(void) 90 { 91 struct pci_dev *dev = NULL; 92 struct pci_driver *d, *tmp; 93 94 pre_init = 0; 95 for_each_pci_dev(dev) 96 ide_scan_pcidev(dev); 97 98 /* 99 * Hand the drivers over to the PCI layer now we 100 * are post init. 101 */ 102 103 list_for_each_entry_safe(d, tmp, &ide_pci_drivers, node) { > 104 list_del(d->node); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip