[xlnx:master 1342/9999] drivers/usb/dwc3/core.h:1422: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1422: first defined here
kernel test robot
lkp at intel.com
Sat Jul 4 01:12:58 EDT 2020
Hi Anurag,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx master
head: 319e5bc767fe351a63744daa9cdd69b1915956d0
commit: 31d7800cc8d815f78d1bfa30655799f5733a4f59 [1342/9999] usb: dwc3: Add support for masking phy reset signal
config: x86_64-randconfig-a016-20200701 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout 31d7800cc8d815f78d1bfa30655799f5733a4f59
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_simple_data':
drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_simple_check_quirks':
drivers/usb/dwc3/core.h:1418: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1418: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_set_usb_core_power':
drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1422: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1422: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_wakeup_capable':
drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_set_simple_data':
drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_simple_check_quirks':
drivers/usb/dwc3/core.h:1418: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1418: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_set_usb_core_power':
drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1422: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1422: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_wakeup_capable':
drivers/usb/dwc3/core.h:1414: multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1414: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_simple_data':
drivers/usb/dwc3/core.h:1416: multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1416: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_simple_check_quirks':
drivers/usb/dwc3/core.h:1418: multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1418: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_set_usb_core_power':
drivers/usb/dwc3/core.h:1420: multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1420: first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_mask_phy_reset':
>> drivers/usb/dwc3/core.h:1422: multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:drivers/usb/dwc3/core.h:1422: first defined here
vim +1422 drivers/usb/dwc3/core.h
1402
1403 #if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
1404 int dwc3_enable_hw_coherency(struct device *dev);
1405 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
1406 void dwc3_set_simple_data(struct dwc3 *dwc);
1407 void dwc3_simple_check_quirks(struct dwc3 *dwc);
1408 int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on);
1409 void dwc3_mask_phy_reset(struct device *dev, bool mask);
1410 #else
1411 static inline int dwc3_enable_hw_coherency(struct device *dev)
1412 { return 1; }
1413 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
> 1414 { ; }
1415 void dwc3_set_simple_data(struct dwc3 *dwc)
1416 { ; }
1417 void dwc3_simple_check_quirks(struct dwc3 *dwc)
1418 { ; }
1419 int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
1420 { ; }
1421 void dwc3_mask_phy_reset(struct device *dev, bool mask)
> 1422 { ; }
1423 #endif
1424
---
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: 26734 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200704/3c3fc9a7/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list