[xlnx:xlnx_rebase_v5.4 908/1701] trace.c:(.text+0x1c40): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x9a0): first defined here

kernel test robot lkp at intel.com
Thu Apr 1 21:07:14 BST 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   8540825db3d5519ef205a710515b7819b95eeb4f
commit: 68a922ded3cde24cb75c0cad0c62403d97ca9aaf [908/1701] usb: dwc3: Add code for supporting entering into D3 state during suspend
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/68a922ded3cde24cb75c0cad0c62403d97ca9aaf
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 68a922ded3cde24cb75c0cad0c62403d97ca9aaf
        # 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:36:
   drivers/usb/dwc3/core.h:1430:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
    1430 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h:1432:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
    1432 | void dwc3_set_simple_data(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h:1434:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
    1434 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1436:5: warning: no previous prototype for 'dwc3_set_usb_core_power' [-Wmissing-prototypes]
    1436 | int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
         |     ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/core.h: In function 'dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1437:5: warning: control reaches end of non-void function [-Wreturn-type]
    1437 | { ; }
         |     ^
--
   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+0x970): 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+0x980): first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_check_quirks':
   trace.c:(.text+0x1c30): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x990): first defined here
   ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_usb_core_power':
>> trace.c:(.text+0x1c40): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x9a0): first defined here
   ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_wakeup_capable':
   host.c:(.text+0x10): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x970): first defined here
   ld: drivers/usb/dwc3/host.o: in function `dwc3_set_simple_data':
   host.c:(.text+0x20): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x980): first defined here
   ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_check_quirks':
   host.c:(.text+0x30): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x990): first defined here
   ld: drivers/usb/dwc3/host.o: in function `dwc3_set_usb_core_power':
   host.c:(.text+0x40): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x9a0): 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+0x970): 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+0x980): first defined here
   ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_check_quirks':
   ulpi.c:(.text+0xaa0): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x990): first defined here
   ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_usb_core_power':
   ulpi.c:(.text+0xab0): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x9a0): 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+0x970): 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+0x980): first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_check_quirks':
   debugfs.c:(.text+0xa30): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x990): first defined here
   ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_usb_core_power':
   debugfs.c:(.text+0xa40): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x9a0): 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/4c38a546/attachment-0001.gz>


More information about the linux-arm-kernel mailing list