[xlnx:xlnx_rebase_v5.4 1296/1701] drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
kernel test robot
lkp at intel.com
Thu Apr 1 14:15:26 BST 2021
Hi Vishal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 8540825db3d5519ef205a710515b7819b95eeb4f
commit: 0b197959bbbdb68e1da974bd013339f08704b178 [1296/1701] staging: xlnxsync: Fix the uapi header license
config: i386-randconfig-a013-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/0b197959bbbdb68e1da974bd013339f08704b178
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 0b197959bbbdb68e1da974bd013339f08704b178
# 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 errors (new ones prefixed by >>):
ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_wakeup_capable':
>> drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_wakeup_capable':
drivers/usb/dwc3/host.c:19: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_wakeup_capable':
>> drivers/usb/dwc3/core.h:1462: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1462: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_simple_data':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_check_quirks':
>> drivers/usb/dwc3/core.h:1464: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1464: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_usb_core_power':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1468: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1468: first defined here
vim +1462 drivers/usb/dwc3/core.h
c4137a9c841ec7 John Youn 2016-02-05 1450
6d0468b837bc2b Michal Simek 2020-03-16 1451 #if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
8110b9b0dcabf1 Michal Simek 2020-03-16 1452 int dwc3_enable_hw_coherency(struct device *dev);
6d0468b837bc2b Michal Simek 2020-03-16 1453 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
3d600fd776cbda Michal Simek 2020-03-16 1454 void dwc3_set_simple_data(struct dwc3 *dwc);
782658c51bbcd8 Piyush Mehta 2020-01-23 1455 void dwc3_simple_check_quirks(struct dwc3 *dwc);
68a922ded3cde2 Piyush Mehta 2020-01-23 1456 int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on);
128feece434d1c Piyush Mehta 2020-01-23 1457 void dwc3_mask_phy_reset(struct device *dev, bool mask);
6d0468b837bc2b Michal Simek 2020-03-16 1458 #else
8110b9b0dcabf1 Michal Simek 2020-03-16 1459 static inline int dwc3_enable_hw_coherency(struct device *dev)
8110b9b0dcabf1 Michal Simek 2020-03-16 1460 { return 1; }
6d0468b837bc2b Michal Simek 2020-03-16 1461 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
6d0468b837bc2b Michal Simek 2020-03-16 @1462 { ; }
3d600fd776cbda Michal Simek 2020-03-16 1463 void dwc3_set_simple_data(struct dwc3 *dwc)
3d600fd776cbda Michal Simek 2020-03-16 @1464 { ; }
782658c51bbcd8 Piyush Mehta 2020-01-23 1465 void dwc3_simple_check_quirks(struct dwc3 *dwc)
782658c51bbcd8 Piyush Mehta 2020-01-23 1466 { ; }
68a922ded3cde2 Piyush Mehta 2020-01-23 1467 int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
68a922ded3cde2 Piyush Mehta 2020-01-23 @1468 { ; }
128feece434d1c Piyush Mehta 2020-01-23 1469 void dwc3_mask_phy_reset(struct device *dev, bool mask)
128feece434d1c Piyush Mehta 2020-01-23 1470 { ; }
6d0468b837bc2b Michal Simek 2020-03-16 1471 #endif
6d0468b837bc2b Michal Simek 2020-03-16 1472
:::::: The code at line 1462 was first introduced by commit
:::::: 6d0468b837bc2b3cce625f59904d137e63637b5d usb: dwc3: Add support for clock disabling during suspend
:::::: TO: Michal Simek <michal.simek at xilinx.com>
:::::: CC: Michal Simek <michal.simek at xilinx.com>
---
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: 30765 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210401/bf77b9e9/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list