[pci:review/edr 6/10] drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux