[xlnx:xlnx_rebase_v5.4 935/1701] trace.c:(.text+0x1c50): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0xea0): first defined here
kernel test robot
lkp at intel.com
Fri Apr 2 00:29:12 BST 2021
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 8540825db3d5519ef205a710515b7819b95eeb4f
commit: 128feece434d1c02d2dfac7e4103b2c73b6afb27 [935/1701] usb: dwc3: Add support for masking phy reset signal
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/128feece434d1c02d2dfac7e4103b2c73b6afb27
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 128feece434d1c02d2dfac7e4103b2c73b6afb27
# 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:1451:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1451 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1453:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
1453 | void dwc3_set_simple_data(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1455:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
1455 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1457:5: warning: no previous prototype for 'dwc3_set_usb_core_power' [-Wmissing-prototypes]
1457 | int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1459:6: warning: no previous prototype for 'dwc3_mask_phy_reset' [-Wmissing-prototypes]
1459 | void dwc3_mask_phy_reset(struct device *dev, bool mask)
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.c:386:6: warning: no previous prototype for 'dwc3_free_event_buffers' [-Wmissing-prototypes]
386 | void dwc3_free_event_buffers(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.c:403:5: warning: no previous prototype for 'dwc3_alloc_event_buffers' [-Wmissing-prototypes]
403 | int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.c:977:5: warning: no previous prototype for 'dwc3_core_init' [-Wmissing-prototypes]
977 | int dwc3_core_init(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/core.c:36:
drivers/usb/dwc3/core.h: In function 'dwc3_set_usb_core_power':
drivers/usb/dwc3/core.h:1458:5: warning: control reaches end of non-void function [-Wreturn-type]
1458 | { ; }
| ^
--
In file included from drivers/usb/dwc3/trace.h:19,
from drivers/usb/dwc3/trace.c:11:
drivers/usb/dwc3/core.h:1451:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1451 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1453:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
1453 | void dwc3_set_simple_data(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1455:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
1455 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1457:5: warning: no previous prototype for 'dwc3_set_usb_core_power' [-Wmissing-prototypes]
1457 | int dwc3_set_usb_core_power(struct dwc3 *dwc, bool on)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1459:6: warning: no previous prototype for 'dwc3_mask_phy_reset' [-Wmissing-prototypes]
1459 | void dwc3_mask_phy_reset(struct device *dev, bool mask)
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h: In function 'dwc3_set_usb_core_power':
drivers/usb/dwc3/core.h:1458:5: warning: control reaches end of non-void function [-Wreturn-type]
1458 | { ; }
| ^
--
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+0xe60): 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+0xe70): 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+0xe80): 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+0xe90): first defined here
ld: drivers/usb/dwc3/trace.o: in function `dwc3_mask_phy_reset':
>> trace.c:(.text+0x1c50): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0xea0): 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+0xe60): 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+0xe70): 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+0xe80): 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+0xe90): first defined here
ld: drivers/usb/dwc3/host.o: in function `dwc3_mask_phy_reset':
host.c:(.text+0x50): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0xea0): 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+0xe60): 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+0xe70): 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+0xe80): 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+0xe90): first defined here
ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_mask_phy_reset':
ulpi.c:(.text+0xac0): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0xea0): 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+0xe60): 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+0xe70): 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+0xe80): 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+0xe90): first defined here
ld: drivers/usb/dwc3/debugfs.o: in function `dwc3_mask_phy_reset':
debugfs.c:(.text+0xa50): multiple definition of `dwc3_mask_phy_reset'; drivers/usb/dwc3/core.o:core.c:(.text+0xea0): 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/44767741/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list