All of lore.kernel.org
 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'; drivers/pci/access.o:drivers/pci/pci.h:664: first defined here
Date: Fri, 6 Mar 2020 15:30:12 +0800	[thread overview]
Message-ID: <202003061557.fC9amn4C%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 6723 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: 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 <lkp@intel.com>

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [pci:review/edr 6/10] 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
Date: Fri, 06 Mar 2020 15:30:12 +0800	[thread overview]
Message-ID: <202003061557.fC9amn4C%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 6813 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: 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 <lkp@intel.com>

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(a)lists.01.org

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

             reply	other threads:[~2020-03-06  7:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  7:30 kbuild test robot [this message]
2020-03-06  7:30 ` [pci:review/edr 6/10] 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 kbuild test robot

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=202003061557.fC9amn4C%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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.