lkml.org 
[lkml]   [2016]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume
On 18 November 2016 at 21:14, kbuild test robot <lkp@intel.com> wrote:
> 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) {

I will send out new patch to fix this building error.

--
Baolin.wang
Best Regards

\
 
 \ /
  Last update: 2016-11-21 07:22    [W:2.308 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site