[linux-next:master 11402/11633] drivers/usb/cdns3/host-export.h:27:51: warning: 'struct usb_hcd' declared inside parameter list will not be visible outside of this definition or declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   a9e26cb5f2615cd638f911ea96d4fff5b4d93690
commit: d40a169aab245ebd7dadabb694ef3ef460bcf238 [11402/11633] usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver
config: alpha-randconfig-p002-20201209 (attached as .config)
compiler: alpha-linux-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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d40a169aab245ebd7dadabb694ef3ef460bcf238
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout d40a169aab245ebd7dadabb694ef3ef460bcf238
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   In file included from drivers/usb/cdns3/core.c:23:
>> drivers/usb/cdns3/host-export.h:27:51: warning: 'struct usb_hcd' declared inside parameter list will not be visible outside of this definition or declaration
      27 | static inline int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd)
         |                                                   ^~~~~~~

vim +27 drivers/usb/cdns3/host-export.h

7733f6c32e36ff Pawel Laszczak 2019-08-26  25  
e89eb2bc2ed451 Pawel Laszczak 2020-12-07  26  static inline void cdns_host_exit(struct cdns *cdns) { }
67e65ca2d814db Peter Chen     2020-05-22 @27  static inline int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd)
67e65ca2d814db Peter Chen     2020-05-22  28  {
67e65ca2d814db Peter Chen     2020-05-22  29  	return 0;
67e65ca2d814db Peter Chen     2020-05-22  30  }
7733f6c32e36ff Pawel Laszczak 2019-08-26  31  

:::::: The code at line 27 was first introduced by commit
:::::: 67e65ca2d814db68993b204bd049af9972985c75 usb: cdns3: host: add .suspend_quirk for xhci-plat.c

:::::: TO: Peter Chen <peter.chen@xxxxxxx>
:::::: CC: Peter Chen <peter.chen@xxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux