[tglx-devel:msi 12/101] arch/x86/kernel/apic/msi.c:352:9: error: implicit declaration of function 'xen_initdom_restore_msi'

From: kernel test robot
Date: Tue Nov 30 2021 - 02:24:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git msi
head: 1fd2d0e8970556f4495ebc122b6e7f249393022e
commit: 0d4bbd35acbeb675aa06a4b8b5b2ea4cbd776365 [12/101] PCI/MSI: Make arch_restore_msi_irqs() less horrible.
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20211130/202111301541.76r8diQD-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=0d4bbd35acbeb675aa06a4b8b5b2ea4cbd776365
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel msi
git checkout 0d4bbd35acbeb675aa06a4b8b5b2ea4cbd776365
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

arch/x86/kernel/apic/msi.c: In function 'arch_restore_msi_irqs':
>> arch/x86/kernel/apic/msi.c:352:9: error: implicit declaration of function 'xen_initdom_restore_msi' [-Werror=implicit-function-declaration]
352 | return xen_initdom_restore_msi(dev);
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors


vim +/xen_initdom_restore_msi +352 arch/x86/kernel/apic/msi.c

349
350 bool arch_restore_msi_irqs(struct pci_dev *dev)
351 {
> 352 return xen_initdom_restore_msi(dev);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx