linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pci:review/edr 6/10] drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'
@ 2020-03-06  5:35 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-06  5:35 UTC (permalink / raw)
  Cc: kbuild-all, linux-pci

[-- Attachment #1: Type: text/plain, Size: 6397 bytes --]

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: alpha-randconfig-a001-20200306 (attached as .config)
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c4719ae890ec3ea58d9572605f1dc8d090b2d2a3
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=alpha 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   drivers/pci/of.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
   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
   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
   drivers/pci/syscall.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
   drivers/pci/controller/pcie-xilinx.o: In function `pci_aer_raw_clear_status':
   drivers/pci/controller/../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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27002 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-06  5:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06  5:35 [pci:review/edr 6/10] drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status' kbuild 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).