[xilinx-xlnx:xlnx_rebase_v5.4 908/1768] gadget.c:(.text+0x1278): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here

kernel test robot lkp at intel.com
Tue Dec 14 23:41:35 PST 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   abafefebd1f1e040eef74e4ab571ea08bf745641
commit: 68a922ded3cde24cb75c0cad0c62403d97ca9aaf [908/1768] usb: dwc3: Add code for supporting entering into D3 state during suspend
config: m68k-randconfig-r014-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151547.E1GVSqKh-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.2.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/68a922ded3cde24cb75c0cad0c62403d97ca9aaf
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
        git checkout 68a922ded3cde24cb75c0cad0c62403d97ca9aaf
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash

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+0x1260): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
   gadget.c:(.text+0x1268): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
   gadget.c:(.text+0x1270): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_usb_core_power':
>> gadget.c:(.text+0x1278): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
   ep0.c:(.text+0xde2): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
   ep0.c:(.text+0xdea): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
   ep0.c:(.text+0xdf2): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_usb_core_power':
   ep0.c:(.text+0xdfa): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_wakeup_capable':
   ulpi.c:(.text+0x2d6): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_simple_data':
   ulpi.c:(.text+0x2de): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_check_quirks':
   ulpi.c:(.text+0x2e6): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_usb_core_power':
   ulpi.c:(.text+0x2ee): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



More information about the linux-arm-kernel mailing list