linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xlnx:master 9789/9999] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
@ 2020-04-13 18:41 kbuild test robot
  2020-04-13 19:44 ` Bjorn Helgaas
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2020-04-13 18:41 UTC (permalink / raw)
  To: Michal Simek; +Cc: Bjorn Helgaas, kbuild-all, linux-arm-kernel, Masahiro Yamada

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   81566a0b82c7995ca879463e66573c76ba774ea2
commit: 16e9a62655524541cb2f2c59fd5f1f167fbf73dc [9789/9999] asm-generic: Make msi.h a mandatory include/asm header
config: s390-randconfig-a001-20200413 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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 16e9a62655524541cb2f2c59fd5f1f167fbf73dc
        # save the attached .config to linux build tree
        GCC_VERSION=9.3.0 make.cross ARCH=s390 

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

All errors (new ones prefixed by >>):

   s390-linux-ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_wakeup_capable':
>> drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
   s390-linux-ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/trace.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_wakeup_capable':
>> drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
>> drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
   s390-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_wakeup_capable':
>> drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_wakeup_capable':
   drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
   s390-linux-ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_simple_data':
   drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_check_quirks':
   drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
   s390-linux-ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_usb_core_power':
   drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
   s390-linux-ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_mask_phy_reset':
   drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here

vim +1462 drivers/usb/dwc3/core.h

c4137a9c841ec7f John Youn    2016-02-05  1450  
6f01f95b6d93880 Piyush Mehta 2020-01-23  1451  #if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
6f01f95b6d93880 Piyush Mehta 2020-01-23  1452  int dwc3_enable_hw_coherency(struct device *dev);
c74581f3111ab56 Piyush Mehta 2020-01-23  1453  void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
d428092fcbb4753 Piyush Mehta 2020-01-23  1454  void dwc3_set_simple_data(struct dwc3 *dwc);
a738e38f05e5574 Piyush Mehta 2020-01-23  1455  void dwc3_simple_check_quirks(struct dwc3 *dwc);
b27a2bfb4ddd008 Piyush Mehta 2020-01-23  1456  int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on);
8d5030cd274fe1d Piyush Mehta 2020-01-23  1457  void dwc3_mask_phy_reset(struct device *dev, bool mask);
6f01f95b6d93880 Piyush Mehta 2020-01-23  1458  #else
6f01f95b6d93880 Piyush Mehta 2020-01-23  1459  static inline int dwc3_enable_hw_coherency(struct device *dev)
6f01f95b6d93880 Piyush Mehta 2020-01-23  1460  { return 1; }
c74581f3111ab56 Piyush Mehta 2020-01-23  1461  void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
c74581f3111ab56 Piyush Mehta 2020-01-23 @1462  { ; }
d428092fcbb4753 Piyush Mehta 2020-01-23  1463  void dwc3_set_simple_data(struct dwc3 *dwc)
d428092fcbb4753 Piyush Mehta 2020-01-23 @1464  { ; }
a738e38f05e5574 Piyush Mehta 2020-01-23  1465  void dwc3_simple_check_quirks(struct dwc3 *dwc)
a738e38f05e5574 Piyush Mehta 2020-01-23  1466  { ; }
b27a2bfb4ddd008 Piyush Mehta 2020-01-23  1467  int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
b27a2bfb4ddd008 Piyush Mehta 2020-01-23 @1468  { ; }
8d5030cd274fe1d Piyush Mehta 2020-01-23  1469  void dwc3_mask_phy_reset(struct device *dev, bool mask)
8d5030cd274fe1d Piyush Mehta 2020-01-23  1470  { ; }
6f01f95b6d93880 Piyush Mehta 2020-01-23  1471  #endif
6f01f95b6d93880 Piyush Mehta 2020-01-23  1472  

:::::: The code at line 1462 was first introduced by commit
:::::: c74581f3111ab569c8747190a6b727f6b4d1773c usb: dwc3: Add support for clock disabling during suspend

:::::: TO: Piyush Mehta <piyush.mehta@xilinx.com>
:::::: CC: Michal Simek <michal.simek@xilinx.com>

---
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: 29118 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [xlnx:master 9789/9999] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
  2020-04-13 18:41 [xlnx:master 9789/9999] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here kbuild test robot
@ 2020-04-13 19:44 ` Bjorn Helgaas
  2020-04-14  0:36   ` Rong Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Bjorn Helgaas @ 2020-04-13 19:44 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Bjorn Helgaas, Michal Simek, kbuild-all, ARM, Masahiro Yamada

On Mon, Apr 13, 2020 at 1:42 PM kbuild test robot <lkp@intel.com> wrote:
>
> tree:   https://github.com/Xilinx/linux-xlnx master
> head:   81566a0b82c7995ca879463e66573c76ba774ea2
> commit: 16e9a62655524541cb2f2c59fd5f1f167fbf73dc [9789/9999] asm-generic: Make msi.h a mandatory include/asm header

Why do I care about this?  I have no idea what the linux-xlnx tree
mentioned above is.  The 16e9a6265552 commit doesn't exist in
linux-xlnx or in Linus' tree.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [xlnx:master 9789/9999] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
  2020-04-13 19:44 ` Bjorn Helgaas
@ 2020-04-14  0:36   ` Rong Chen
  2020-04-14 12:56     ` Bjorn Helgaas
  0 siblings, 1 reply; 4+ messages in thread
From: Rong Chen @ 2020-04-14  0:36 UTC (permalink / raw)
  To: bjorn, kbuild test robot
  Cc: Bjorn Helgaas, Michal Simek, kbuild-all, ARM, Masahiro Yamada



On 4/14/20 3:44 AM, Bjorn Helgaas wrote:
> On Mon, Apr 13, 2020 at 1:42 PM kbuild test robot <lkp@intel.com> wrote:
>> tree:   https://github.com/Xilinx/linux-xlnx master
>> head:   81566a0b82c7995ca879463e66573c76ba774ea2
>> commit: 16e9a62655524541cb2f2c59fd5f1f167fbf73dc [9789/9999] asm-generic: Make msi.h a mandatory include/asm header
> Why do I care about this?  I have no idea what the linux-xlnx tree
> mentioned above is.  The 16e9a6265552 commit doesn't exist in
> linux-xlnx or in Linus' tree.
>

Hi Bjorn,

Do you mean the above tree ("https://github.com/Xilinx/linux-xlnx") is 
not the official tree,
Could you possibly tell us the official site?

Best Regards,
Rong Chen

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [xlnx:master 9789/9999] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
  2020-04-14  0:36   ` Rong Chen
@ 2020-04-14 12:56     ` Bjorn Helgaas
  0 siblings, 0 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2020-04-14 12:56 UTC (permalink / raw)
  To: Rong Chen
  Cc: Michal Simek, kbuild-all, kbuild test robot, Masahiro Yamada,
	Bjorn Helgaas, Bjorn Helgaas, ARM

On Mon, Apr 13, 2020 at 7:36 PM Rong Chen <rong.a.chen@intel.com> wrote:
> On 4/14/20 3:44 AM, Bjorn Helgaas wrote:
> > On Mon, Apr 13, 2020 at 1:42 PM kbuild test robot <lkp@intel.com> wrote:
> >> tree:   https://github.com/Xilinx/linux-xlnx master
> >> head:   81566a0b82c7995ca879463e66573c76ba774ea2
> >> commit: 16e9a62655524541cb2f2c59fd5f1f167fbf73dc [9789/9999] asm-generic: Make msi.h a mandatory include/asm header
> > Why do I care about this?  I have no idea what the linux-xlnx tree
> > mentioned above is.  The 16e9a6265552 commit doesn't exist in
> > linux-xlnx or in Linus' tree.
> >
>
> Hi Bjorn,
>
> Do you mean the above tree ("https://github.com/Xilinx/linux-xlnx") is
> not the official tree,
> Could you possibly tell us the official site?

I don't know anything about Xilinx trees, so I don't know whether that
tree is official or not.  My only point was that I couldn't find the
16e9a6265552 commit.

But apparently I just don't know how to navigate github, because
16e9a6265552 *does* exist in that tree; it's at
https://github.com/Xilinx/linux-xlnx/commit/16e9a62655524541cb2f2c59fd5f1f167fbf73dc

It corresponds to upstream commit a1b39bae16a6 ("asm-generic: Make
msi.h a mandatory include/asm header") from Michal.

So I assume Michal will take care of this.

Bjorn

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14 12:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 18:41 [xlnx:master 9789/9999] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here kbuild test robot
2020-04-13 19:44 ` Bjorn Helgaas
2020-04-14  0:36   ` Rong Chen
2020-04-14 12:56     ` Bjorn Helgaas

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).