On Sat, Aug 21, 2021 at 10:44:06AM +0800, kernel test robot wrote:
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/misc
head: 81e2ce35df9102989cefe180f41d78dd7fb8c9b9
commit: 81e2ce35df9102989cefe180f41d78dd7fb8c9b9 [7/7] PCI: Sync __pci_register_driver()
stub for CONFIG_PCI=n
config: i386-tinyconfig (attached as .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/helgaas/pci.git/commit/?i...
git remote add pci
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
git fetch --no-tags pci pci/misc
git checkout 81e2ce35df9102989cefe180f41d78dd7fb8c9b9
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
For the record, I copied a prototype from the other one.
If we need to fix, we need to fix them both.
I'll cook the patch.
--
With Best Regards,
Andy Shevchenko