tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: c3927ddf5ac25bf02d2e880addf24b8f321281df
commit: 019b82a8838ce1601fa55ce41568a7e8569814fa [47/199] FROMLIST: usb: dwc3: core: Host
wake up support from system suspend
config: x86_64-randconfig-r036-20200821 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 019b82a8838ce1601fa55ce41568a7e8569814fa
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/usb/dwc3/core.o: in function `hcd_to_xhci':
> drivers/usb/dwc3/../host/xhci.h:1922: undefined reference to
`usb_hcd_is_primary_hcd'
ld: drivers/usb/dwc3/core.o: in function
`dwc3_suspend_common':
> drivers/usb/dwc3/core.c:1645: undefined reference to
`usb_wakeup_enabled_descendants'
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 019b82a8838ce1601fa55ce41568a7e8569814fa
vim +1922 drivers/usb/dwc3/../host/xhci.h
79b8094f60d8ce5 Lu Baolu 2015-08-06 1916
74c6874199af98e Sarah Sharp 2009-04-27 1917 /* convert between an HCD pointer and the
corresponding EHCI_HCD */
74c6874199af98e Sarah Sharp 2009-04-27 1918 static inline struct xhci_hcd
*hcd_to_xhci(struct usb_hcd *hcd)
74c6874199af98e Sarah Sharp 2009-04-27 1919 {
cd33a32157e4248 Roger Quadros 2015-05-29 1920 struct usb_hcd *primary_hcd;
cd33a32157e4248 Roger Quadros 2015-05-29 1921
cd33a32157e4248 Roger Quadros 2015-05-29 @1922 if (usb_hcd_is_primary_hcd(hcd))
cd33a32157e4248 Roger Quadros 2015-05-29 1923 primary_hcd = hcd;
cd33a32157e4248 Roger Quadros 2015-05-29 1924 else
cd33a32157e4248 Roger Quadros 2015-05-29 1925 primary_hcd = hcd->primary_hcd;
cd33a32157e4248 Roger Quadros 2015-05-29 1926
cd33a32157e4248 Roger Quadros 2015-05-29 1927 return (struct xhci_hcd *)
(primary_hcd->hcd_priv);
74c6874199af98e Sarah Sharp 2009-04-27 1928 }
74c6874199af98e Sarah Sharp 2009-04-27 1929
:::::: The code at line 1922 was first introduced by commit
:::::: cd33a32157e42483ffea31e32b1cee4f11ff9592 usb: xhci: cleanup xhci_hcd allocation
:::::: TO: Roger Quadros <rogerq(a)ti.com>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org