[xlnx:xlnx_rebase_v5.4 1296/1696] gadget.c:(.text+0xe90): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a0a): first defined here

kernel test robot lkp at intel.com
Thu Dec 3 07:51:42 EST 2020


Hi Vishal,

First bad commit (maybe != root cause):

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   61e889430e4c71c59bc43d5b4a23ef1f5845cd70
commit: 0b197959bbbdb68e1da974bd013339f08704b178 [1296/1696] staging: xlnxsync: Fix the uapi header license
config: m68k-randconfig-r032-20201203 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/Xilinx/linux-xlnx/commit/0b197959bbbdb68e1da974bd013339f08704b178
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 0b197959bbbdb68e1da974bd013339f08704b178
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_wakeup_capable':
>> gadget.c:(.text+0xe90): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a0a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
>> gadget.c:(.text+0xe98): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a12): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
>> gadget.c:(.text+0xea0): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a1a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_usb_core_power':
>> gadget.c:(.text+0xea8): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a22): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_mask_phy_reset':
>> gadget.c:(.text+0xeb0): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a2a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
   ep0.c:(.text+0xd7a): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a0a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
   ep0.c:(.text+0xd82): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a12): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
   ep0.c:(.text+0xd8a): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a1a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_usb_core_power':
   ep0.c:(.text+0xd92): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a22): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_mask_phy_reset':
   ep0.c:(.text+0xd9a): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a2a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_wakeup_capable':
   gadget_hibernation.c:(.text+0x0): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a0a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_simple_data':
   gadget_hibernation.c:(.text+0x8): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a12): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_check_quirks':
   gadget_hibernation.c:(.text+0x10): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a1a): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_usb_core_power':
   gadget_hibernation.c:(.text+0x18): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a22): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_mask_phy_reset':
   gadget_hibernation.c:(.text+0x20): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x1a2a): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 18479 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201203/bd57db3a/attachment-0001.gz>


More information about the linux-arm-kernel mailing list