Hi Keith, kernel test robot noticed the following build errors: [auto build test ERROR on pci/next] [also build test ERROR on pci/for-linus linus/master v6.10-rc3 next-20240607] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Keith-Busch/PCI-pciehp-fix-concurrent-sub-tree-removal-deadlock/20240611-060555 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20240610220304.3162895-2-kbusch%40meta.com patch subject: [PATCH 1/2] PCI: pciehp: fix concurrent sub-tree removal deadlock config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20240611/202406111313.UuWo45kC-lkp@xxxxxxxxx/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 4403cdbaf01379de96f8d0d6ea4f51a085e37766) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240611/202406111313.UuWo45kC-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202406111313.UuWo45kC-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from drivers/pci/of.c:11: In file included from include/linux/pci.h:2672: In file included from include/linux/dma-mapping.h:11: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from drivers/pci/of.c:16: >> drivers/pci/pci.h:416:2: error: call to undeclared function 'pci_notify_disconnected'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | pci_notify_disconnected(); | ^ drivers/pci/pci.h:416:2: note: did you mean 'pci_doe_disconnected'? drivers/pci/pci.h:376:20: note: 'pci_doe_disconnected' declared here 376 | static inline void pci_doe_disconnected(struct pci_dev *pdev) { } | ^ 1 warning and 1 error generated. vim +/pci_notify_disconnected +416 drivers/pci/pci.h 411 412 static inline int pci_dev_set_disconnected(struct pci_dev *dev, void *unused) 413 { 414 pci_dev_set_io_state(dev, pci_channel_io_perm_failure); 415 pci_doe_disconnected(dev); > 416 pci_notify_disconnected(); 417 418 return 0; 419 } 420 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki