linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xlnx:master 20/144] drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
@ 2019-11-08  8:32 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-08  8:32 UTC (permalink / raw)
  To: Anurag Kumar Vulisha; +Cc: Michal Simek, kbuild-all, linux-arm-kernel

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   2320db49769e9480e68b5546b8f3c251c01c082d
commit: 31d7800cc8d815f78d1bfa30655799f5733a4f59 [20/144] usb: dwc3: Add support for masking phy reset signal
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout 31d7800cc8d815f78d1bfa30655799f5733a4f59
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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/usb/dwc3/trace.o: in function `dwc3_simple_wakeup_capable':
   drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_simple_data':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_check_quirks':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_usb_core_power':
   drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_wakeup_capable':
   drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
   ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_usb_core_power':
   drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/gadget.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
   drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
   ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_usb_core_power':
   drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/ep0.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_wakeup_capable':
   drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
   ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_simple_data':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_check_quirks':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_usb_core_power':
   drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_wakeup_capable':
   drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_simple_data':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_check_quirks':
   drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_usb_core_power':
   drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here

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

c4137a9c841ec7 John Youn            2016-02-05  1402  
554c94c1bc5121 Manish Narani        2017-03-28  1403  #if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
554c94c1bc5121 Manish Narani        2017-03-28  1404  int dwc3_enable_hw_coherency(struct device *dev);
80ac0da9010eba Anurag Kumar Vulisha 2017-07-19  1405  void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
a4769f84c50a76 Anurag Kumar Vulisha 2017-07-27  1406  void dwc3_set_simple_data(struct dwc3 *dwc);
244ddcbd8d1c0b Anurag Kumar Vulisha 2017-07-29  1407  void dwc3_simple_check_quirks(struct dwc3 *dwc);
4e93ddc6c0fad2 Anurag Kumar Vulisha 2017-09-27  1408  int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on);
31d7800cc8d815 Anurag Kumar Vulisha 2019-08-28  1409  void dwc3_mask_phy_reset(struct device *dev, bool mask);
554c94c1bc5121 Manish Narani        2017-03-28  1410  #else
554c94c1bc5121 Manish Narani        2017-03-28  1411  static inline int dwc3_enable_hw_coherency(struct device *dev)
554c94c1bc5121 Manish Narani        2017-03-28  1412  { return 1; }
80ac0da9010eba Anurag Kumar Vulisha 2017-07-19  1413  void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
80ac0da9010eba Anurag Kumar Vulisha 2017-07-19 @1414  { ; }
a4769f84c50a76 Anurag Kumar Vulisha 2017-07-27  1415  void dwc3_set_simple_data(struct dwc3 *dwc)
a4769f84c50a76 Anurag Kumar Vulisha 2017-07-27  1416  { ; }
244ddcbd8d1c0b Anurag Kumar Vulisha 2017-07-29  1417  void dwc3_simple_check_quirks(struct dwc3 *dwc)
244ddcbd8d1c0b Anurag Kumar Vulisha 2017-07-29  1418  { ; }
4e93ddc6c0fad2 Anurag Kumar Vulisha 2017-09-27  1419  int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
4e93ddc6c0fad2 Anurag Kumar Vulisha 2017-09-27 @1420  { ; }
31d7800cc8d815 Anurag Kumar Vulisha 2019-08-28  1421  void dwc3_mask_phy_reset(struct device *dev, bool mask)
31d7800cc8d815 Anurag Kumar Vulisha 2019-08-28  1422  { ; }
554c94c1bc5121 Manish Narani        2017-03-28  1423  #endif
554c94c1bc5121 Manish Narani        2017-03-28  1424  

:::::: The code at line 1420 was first introduced by commit
:::::: 4e93ddc6c0fad23387c55e185019e5091fb0b5ad dwc3: Add code for supporting entering into D3 state during suspend

:::::: TO: Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
:::::: CC: Michal Simek <michal.simek@xilinx.com>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41473 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] only message in thread

only message in thread, other threads:[~2019-11-08  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08  8:32 [xlnx:master 20/144] drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here 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).