[xlnx:xlnx_rebase_v5.4 904/1701] trace.c:(.text+0x1c20): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x780): first defined here

kernel test robot lkp at intel.com
Thu Apr 1 18:01:48 BST 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   8540825db3d5519ef205a710515b7819b95eeb4f
commit: 3d600fd776cbda29abdea084f7437f7d9102b2a5 [904/1701] usb: dwc3: Add support for removing vbus when suspended
config: i386-randconfig-c021-20210401 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/3d600fd776cbda29abdea084f7437f7d9102b2a5
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 3d600fd776cbda29abdea084f7437f7d9102b2a5
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All error/warnings (new ones prefixed by >>):

   In file included from drivers/usb/dwc3/core.c:35:
   drivers/usb/dwc3/core.h:1419:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
    1419 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1421:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
    1421 | void dwc3_set_simple_data(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~
--
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_wakeup_capable':
   trace.c:(.text+0x1c10): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x770): first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_simple_data':
>> trace.c:(.text+0x1c20): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x780): first defined here
   ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_wakeup_capable':
   host.c:(.text+0x0): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x770): first defined here
   ld: drivers/usb/dwc3/host.o: in function `dwc3_set_simple_data':
   host.c:(.text+0x10): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x780): first defined here
   ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_wakeup_capable':
   ulpi.c:(.text+0xa80): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x770): first defined here
   ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_simple_data':
   ulpi.c:(.text+0xa90): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x780): first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_wakeup_capable':
   debugfs.c:(.text+0xa10): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x770): first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_simple_data':
   debugfs.c:(.text+0xa20): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x780): 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: 35311 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210402/7f0eda5c/attachment-0001.gz>


More information about the linux-arm-kernel mailing list