[xlnx:xlnx_rebase_v5.4 903/1700] drivers/usb/dwc3/core.h:1418:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable'

kernel test robot lkp at intel.com
Tue Mar 2 21:42:32 GMT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   49bdb4e70d2001f3a5bf0bf5e990cca4a85210f4
commit: 6d0468b837bc2b3cce625f59904d137e63637b5d [903/1700] usb: dwc3: Add support for clock disabling during suspend
config: c6x-randconfig-r006-20210303 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/usb/dwc3/core.c:35:
>> 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)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
--
   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)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   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_simple_wakeup_capable +1418 drivers/usb/dwc3/core.h

  1414	
  1415	#if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
  1416	void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
  1417	#else
> 1418	void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
  1419	{ ; }
  1420	#endif
  1421	

---
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: 16931 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210303/3d8f821e/attachment-0001.gz>


More information about the linux-arm-kernel mailing list