* [pci:next 61/77] drivers/pci/pci.c:2049:6: error: redefinition of 'pcie_clear_device_status'
@ 2020-07-22 1:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-22 1:54 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: kbuild-all, linux-pci
[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]
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@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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 13774 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-22 1:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 1:54 [pci:next 61/77] drivers/pci/pci.c:2049:6: error: redefinition of 'pcie_clear_device_status' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).