Re: [PATCH v2 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume

From: kbuild test robot
Date: Mon Nov 21 2016 - 02:38:44 EST


Hi Baolin,

[auto build test ERROR on next-20161117]
[cannot apply to balbi-usb/next usb/usb-testing v4.9-rc6 v4.9-rc5 v4.9-rc4 v4.9-rc6]
[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/20161121-143535
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:158: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 +158 drivers/usb/dwc3/host.c

152 int ret, cnt = DWC3_HOST_SUSPEND_COUNT;
153
154 /*
155 * We need make sure the children of the xHCI device had been into
156 * suspend state, or we will suspend xHCI device failed.
157 */
> 158 while (!pm_children_suspended(xhci) && --cnt > 0)
159 msleep(DWC3_HOST_SUSPEND_TIMEOUT);
160
161 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