* [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
@ 2020-12-09 7:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-09 7:31 UTC (permalink / raw)
To: Pawel Laszczak; +Cc: kbuild-all, Linux Memory Management List, Peter Chen
[-- Attachment #1: Type: text/plain, Size: 2381 bytes --]
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@intel.com>
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@nxp.com>
:::::: CC: Peter Chen <peter.chen@nxp.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27253 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-09 7:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09 7:31 [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 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).