tree: https://github.com/ammarfaizi2/linux-block tglx/devel/devmsi head: ba77f809fa66b636222f6677ec7cf8faa1562fe7 commit: bf578e0dbe1a2eb1410af42449a3c7842921a228 [16/86] PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN config: alpha-defconfig compiler: alpha-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/bf578e0dbe1a2eb1410af42449a3c7842921a228 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block tglx/devel/devmsi git checkout bf578e0dbe1a2eb1410af42449a3c7842921a228 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/pci/probe.c: In function 'pci_dev_msi_domain': >> drivers/pci/probe.c:2495:13: error: implicit declaration of function 'pci_msi_get_device_domain' [-Werror=implicit-function-declaration] 2495 | d = pci_msi_get_device_domain(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/pci/probe.c:2495:11: warning: assignment to 'struct irq_domain *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2495 | d = pci_msi_get_device_domain(dev); | ^ cc1: some warnings being treated as errors vim +/pci_msi_get_device_domain +2495 drivers/pci/probe.c 201de56eb22f1f Zhao, Yu 2008-10-13 2473 098259eb16675a Marc Zyngier 2015-10-02 2474 /* 3e466e2d3a04c7 Bjorn Helgaas 2017-11-30 2475 * This is the equivalent of pci_host_bridge_msi_domain() that acts on 098259eb16675a Marc Zyngier 2015-10-02 2476 * devices. Firmware interfaces that can select the MSI domain on a 098259eb16675a Marc Zyngier 2015-10-02 2477 * per-device basis should be called from here. 098259eb16675a Marc Zyngier 2015-10-02 2478 */ 098259eb16675a Marc Zyngier 2015-10-02 2479 static struct irq_domain *pci_dev_msi_domain(struct pci_dev *dev) 098259eb16675a Marc Zyngier 2015-10-02 2480 { 098259eb16675a Marc Zyngier 2015-10-02 2481 struct irq_domain *d; 098259eb16675a Marc Zyngier 2015-10-02 2482 098259eb16675a Marc Zyngier 2015-10-02 2483 /* 06dc660e6eb881 Oliver O'Halloran 2021-09-14 2484 * If a domain has been set through the pcibios_device_add() 098259eb16675a Marc Zyngier 2015-10-02 2485 * callback, then this is the one (platform code knows best). 098259eb16675a Marc Zyngier 2015-10-02 2486 */ 098259eb16675a Marc Zyngier 2015-10-02 2487 d = dev_get_msi_domain(&dev->dev); 098259eb16675a Marc Zyngier 2015-10-02 2488 if (d) 098259eb16675a Marc Zyngier 2015-10-02 2489 return d; 098259eb16675a Marc Zyngier 2015-10-02 2490 54fa97eeb9e22b Marc Zyngier 2015-10-02 2491 /* 54fa97eeb9e22b Marc Zyngier 2015-10-02 2492 * Let's see if we have a firmware interface able to provide 54fa97eeb9e22b Marc Zyngier 2015-10-02 2493 * the domain. 54fa97eeb9e22b Marc Zyngier 2015-10-02 2494 */ 54fa97eeb9e22b Marc Zyngier 2015-10-02 @2495 d = pci_msi_get_device_domain(dev); 54fa97eeb9e22b Marc Zyngier 2015-10-02 2496 if (d) 54fa97eeb9e22b Marc Zyngier 2015-10-02 2497 return d; 54fa97eeb9e22b Marc Zyngier 2015-10-02 2498 098259eb16675a Marc Zyngier 2015-10-02 2499 return NULL; 098259eb16675a Marc Zyngier 2015-10-02 2500 } 098259eb16675a Marc Zyngier 2015-10-02 2501 :::::: The code at line 2495 was first introduced by commit :::::: 54fa97eeb9e22b47d68b67ee00987afa7fbc2178 PCI/MSI: Allow the MSI domain to be device-specific :::::: TO: Marc Zyngier :::::: CC: Marc Zyngier -- 0-DAY CI Kernel Test Service https://01.org/lkp