linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@lists.01.org, linux-pci@vger.kernel.org
Subject: [pci:review/edr 6/10] drivers/pci/pci.h:664: multiple definition of `pci_aer_raw_clear_status'
Date: Fri, 6 Mar 2020 13:35:58 +0800	[thread overview]
Message-ID: <202003061354.PxyrP96M%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-03-06  5:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202003061354.PxyrP96M%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).