[xilinx-xlnx:xlnx_rebase_v5.4 903/1767] include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for 'dwc3_host_wakeup_capable'

kernel test robot lkp at intel.com
Tue Oct 5 07:14:58 PDT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   1ad9b65f0dbe2b3ecc22a498e75a48d8ee39bbda
commit: 6d0468b837bc2b3cce625f59904d137e63637b5d [903/1767] usb: dwc3: Add support for clock disabling during suspend
config: i386-randconfig-a001-20211004 (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/6d0468b837bc2b3cce625f59904d137e63637b5d
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
        git checkout 6d0468b837bc2b3cce625f59904d137e63637b5d
        # 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 warnings (new ones prefixed by >>):

   In file included from drivers/usb/host/xhci-plat.c:23:
>> 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)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/dwc3_host_wakeup_capable +22 include/linux/usb/xhci_pdriver.h

    20	
    21	#else
  > 22	void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
    23	{ ; }
    24	#endif
    25	

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


More information about the linux-arm-kernel mailing list