On Tue, Jun 11, 2024 at 02:19:09PM +0800, kernel test robot wrote: > 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: arc-allnoconfig (https://download.01.org/0day-ci/archive/20240611/202406111416.XIxUrEy4-lkp@xxxxxxxxx/config) > compiler: arc-elf-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240611/202406111416.XIxUrEy4-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/202406111416.XIxUrEy4-lkp@xxxxxxxxx/ > > All errors (new ones prefixed by >>): > > In file included from drivers/pci/of.c:16: > drivers/pci/pci.h: In function 'pci_dev_set_disconnected': > >> drivers/pci/pci.h:416:9: error: implicit declaration of function 'pci_notify_disconnected'; did you mean 'pci_doe_disconnected'? [-Werror=implicit-function-declaration] > 416 | pci_notify_disconnected(); > | ^~~~~~~~~~~~~~~~~~~~~~~ > | pci_doe_disconnected > cc1: some warnings being treated as errors Interesting, drivers/pci/of.c depends on CONFIG_OF, but not CONFIG_PCI. Okay, I can stub the function in that case.