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

kernel test robot lkp at intel.com
Tue Dec 14 21:58:51 PST 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   abafefebd1f1e040eef74e4ab571ea08bf745641
commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1768] usb: dwc3: Correct errors when dwc3 loaded as module
config: m68k-randconfig-r014-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151344.fBoLSAn4-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/782658c51bbcd85a39a5d9a51b57224f185d7670
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
        git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670
        # 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+0x1250): 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+0x1258): 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+0x1260): 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_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/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

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