tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git review/edr head: a727dd2ed5e6e97a2bb4496336574bad365414cf commit: c4719ae890ec3ea58d9572605f1dc8d090b2d2a3 [6/10] PCI/AER: Add pci_aer_raw_clear_status() to unconditionally clear Error Status config: i386-randconfig-e001-20200305 (attached as .config) compiler: gcc-7 (Debian 7.5.0-5) 7.5.0 reproduce: git checkout c4719ae890ec3ea58d9572605f1dc8d090b2d2a3 # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): ld: drivers/pci/bus.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/probe.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/host-bridge.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/remove.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/pci.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/pci-driver.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/search.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/pci-sysfs.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/rom.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/setup-res.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/vpd.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/setup-bus.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/vc.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/setup-irq.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/pcie/aspm.o: in function `pci_aer_raw_clear_status': drivers/pci/pcie/../pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/proc.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/slot.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/pci-acpi.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/quirks.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/hotplug/pci_hotplug_core.o: in function `pci_aer_raw_clear_status': drivers/pci/hotplug/../pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/hotplug/acpiphp_glue.o: in function `pci_aer_raw_clear_status': drivers/pci/hotplug/../pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/ats.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/iov.o: in function `pci_aer_raw_clear_status': >> drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here ld: drivers/pci/pci-label.o: in function `pci_aer_raw_clear_status': drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here vim +664 drivers/pci/pci.h 649 650 #ifdef CONFIG_PCIEAER 651 void pci_no_aer(void); 652 void pci_aer_init(struct pci_dev *dev); 653 void pci_aer_exit(struct pci_dev *dev); 654 extern const struct attribute_group aer_stats_attr_group; 655 void pci_aer_clear_fatal_status(struct pci_dev *dev); 656 void pci_aer_clear_device_status(struct pci_dev *dev); 657 int pci_aer_raw_clear_status(struct pci_dev *dev); 658 #else 659 static inline void pci_no_aer(void) { } 660 static inline void pci_aer_init(struct pci_dev *d) { } 661 static inline void pci_aer_exit(struct pci_dev *d) { } 662 static inline void pci_aer_clear_fatal_status(struct pci_dev *dev) { } 663 static inline void pci_aer_clear_device_status(struct pci_dev *dev) { } > 664 int pci_aer_raw_clear_status(struct pci_dev *dev) { return -EINVAL; } 665 #endif 666 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org