Re: [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume
From: kbuild test robot
Date: Fri Nov 18 2016 - 08:14:50 EST
Hi Baolin,
[auto build test ERROR on next-20161117]
[cannot apply to balbi-usb/next usb/usb-testing v4.9-rc5 v4.9-rc4 v4.9-rc3 v4.9-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Baolin-Wang/usb-host-plat-Enable-xhci-plat-runtime-PM/20161118-202029
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/usb/dwc3/host.c: In function 'dwc3_host_suspend':
>> drivers/usb/dwc3/host.c:157:10: error: implicit declaration of function 'pm_children_suspended' [-Werror=implicit-function-declaration]
while (!pm_children_suspended(xhci) && --cnt > 0)
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pm_children_suspended +157 drivers/usb/dwc3/host.c
151 int ret, cnt = DWC3_HOST_SUSPEND_COUNT;
152
153 /*
154 * We need make sure the children of the xHCI device had been into
155 * suspend state, or we will suspend xHCI device failed.
156 */
> 157 while (!pm_children_suspended(xhci) && --cnt > 0)
158 msleep(DWC3_HOST_SUSPEND_TIMEOUT);
159
160 if (cnt <= 0) {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip