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

kernel test robot lkp at intel.com
Wed Dec 15 01:14:25 PST 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   abafefebd1f1e040eef74e4ab571ea08bf745641
commit: 128feece434d1c02d2dfac7e4103b2c73b6afb27 [935/1768] usb: dwc3: Add support for masking phy reset signal
config: m68k-randconfig-r014-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151747.YVeRx828-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/128feece434d1c02d2dfac7e4103b2c73b6afb27
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
        git checkout 128feece434d1c02d2dfac7e4103b2c73b6afb27
        # 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+0x113a): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10d4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
   gadget.c:(.text+0x1142): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10dc): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
   gadget.c:(.text+0x114a): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10e4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_usb_core_power':
   gadget.c:(.text+0x1152): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ec): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_mask_phy_reset':
>> gadget.c:(.text+0x115a): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
   ep0.c:(.text+0xde0): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10d4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
   ep0.c:(.text+0xde8): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10dc): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
   ep0.c:(.text+0xdf0): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10e4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_usb_core_power':
   ep0.c:(.text+0xdf8): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ec): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_mask_phy_reset':
   ep0.c:(.text+0xe00): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_wakeup_capable':
   gadget_hibernation.c:(.text+0x35c): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10d4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_simple_data':
   gadget_hibernation.c:(.text+0x364): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10dc): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_simple_check_quirks':
   gadget_hibernation.c:(.text+0x36c): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10e4): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_set_usb_core_power':
   gadget_hibernation.c:(.text+0x374): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ec): first defined here
   m68k-linux-ld: drivers/usb/dwc3/gadget_hibernation.o: in function `dwc3_mask_phy_reset':
   gadget_hibernation.c:(.text+0x37c): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f4): 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+0x10d4): 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+0x10dc): 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+0x10e4): 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+0x10ec): first defined here
   m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_mask_phy_reset':
   ulpi.c:(.text+0x2f6): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f4): 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