[xlnx:xlnx_rebase_v5.4 903/1765] drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
From: kernel test robot <hidden>
Date: 2021-07-21 05:20:31
Also in:
oe-kbuild-all
Hi Michal, FYI, the error/warning still remains. tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4 head: 2f686fa6c0bf7fa168dc45dd7ce1359217212911 commit: 6d0468b837bc2b3cce625f59904d137e63637b5d [903/1765] usb: dwc3: Add support for clock disabling during suspend config: mips-randconfig-p002-20210720 (attached as .config) compiler: mips-linux-gcc (GCC) 10.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/Xilinx/linux-xlnx/commit/6d0468b837bc2b3cce625f59904d137e63637b5d git remote add xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xlnx xlnx_rebase_v5.4 git checkout 6d0468b837bc2b3cce625f59904d137e63637b5d # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/usb/dwc3/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>): In file included from drivers/usb/dwc3/host.c:12: include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for 'dwc3_host_wakeup_capable' [-Wmissing-prototypes] 22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/usb/dwc3/host.c:14: drivers/usb/dwc3/core.h:1418:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes] 1418 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup) | ^~~~~~~~~~~~~~~~~~~~~~~~~~
quoted
drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
16 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/host.c:12:
include/linux/usb/xhci_pdriver.h:22:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/dwc3_host_wakeup_capable +16 drivers/usb/dwc3/host.c
15
> 16 void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
17 {
18 dwc3_simple_wakeup_capable(dev, wakeup);
19 }
20
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 30576 bytes
- (unnamed) [text/plain] 176 bytes · preview