[xlnx:master 823/1014] drivers/usb/dwc3/host.c:24:6: error: redefinition of 'dwc3_host_wakeup_capable'

kbuild test robot fengguang.wu at intel.com
Tue Sep 12 02:01:38 PDT 2017


Hi Anurag,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx master
head:   223c3aa24a63bb837169d7253fac666965383934
commit: 80ac0da9010ebabef6ed1d66b6607b345fd14cb4 [823/1014] dwc3: Add support for clock disabling during suspend
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 80ac0da9010ebabef6ed1d66b6607b345fd14cb4
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

>> drivers/usb/dwc3/host.c:24:6: error: redefinition of 'dwc3_host_wakeup_capable'
    void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/usb/dwc3/host.c:20:0:
   include/linux/usb/xhci_pdriver.h:25:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
    void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         ^~~~~~~~~~~~~~~~~~~~~~~~

vim +/dwc3_host_wakeup_capable +24 drivers/usb/dwc3/host.c

    23	
  > 24	void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
    25	{
    26		dwc3_simple_wakeup_capable(dev, wakeup);
    27	}
    28	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 45285 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170912/fbaded62/attachment-0001.gz>


More information about the linux-arm-kernel mailing list