linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2021-04-01 13:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-01 13:15 UTC (permalink / raw)
  To: Vishal Sagar; +Cc: kbuild-all, linux-arm-kernel, Michal Simek, Hyun Kwon

[-- Attachment #1: Type: text/plain, Size: 6546 bytes --]

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@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@xilinx.com>
:::::: CC: Michal Simek <michal.simek@xilinx.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30765 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-01 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-01 13:15 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).