tree:
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
head: 3055eb90f2dbe8000932175dec3fa4f4f29ca353
commit: 02c111e4a5a3fef332be73c1ad6f52abca1ea1b1 [61/77] PCI/ERR: Rename
pci_aer_clear_device_status() to pcie_clear_device_status()
config: alpha-defconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.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
git checkout 02c111e4a5a3fef332be73c1ad6f52abca1ea1b1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/pci/pci.c:2049:6: error: redefinition of
'pcie_clear_device_status'
2049 | void pcie_clear_device_status(struct
pci_dev *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/pci/pci.c:37:
drivers/pci/pci.h:668:20: note: previous definition of
'pcie_clear_device_status' was here
668 | static inline void pcie_clear_device_status(struct pci_dev *dev) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/pcie_clear_device_status +2049 drivers/pci/pci.c
2048
2049 void pcie_clear_device_status(struct pci_dev *dev)
2050 {
2051 u16 sta;
2052
2053 pcie_capability_read_word(dev, PCI_EXP_DEVSTA, &sta);
2054 pcie_capability_write_word(dev, PCI_EXP_DEVSTA, sta);
2055 }
2056
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org