[xlnx:xlnx_rebase_v5.4 906/1701] trace.c:(.text+0x1c30): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x8b0): first defined here
From: kernel test robot <hidden>
Date: 2021-04-01 18:45:24
Also in:
oe-kbuild-all
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4 head: 8540825db3d5519ef205a710515b7819b95eeb4f commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1701] usb: dwc3: Correct errors when dwc3 loaded as module 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/782658c51bbcd85a39a5d9a51b57224f185d7670 git remote add xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xlnx xlnx_rebase_v5.4 git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670 # 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 <redacted> All error/warnings (new ones prefixed by >>): In file included from drivers/usb/dwc3/core.c:36: drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes] 1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes] 1431 | void dwc3_set_simple_data(struct dwc3 *dwc) | ^~~~~~~~~~~~~~~~~~~~
quoted
drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
1433 | void dwc3_simple_check_quirks(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+0x890): 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+0x8a0): first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_check_quirks':quoted
trace.c:(.text+0x1c30): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x8b0): 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+0x890): 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+0x8a0): 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+0x8b0): 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+0x890): 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+0x8a0): 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+0x8b0): 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+0x890): 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+0x8a0): 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+0x8b0): first defined here --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Attachments
- .config.gz [application/gzip] 35311 bytes
- (unnamed) [text/plain] 176 bytes · preview