Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1526401

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

From Baolin Wang <baolin.wang@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume
Date 2016-11-21 07:30 +0100
Message-ID <sFQh4-5YA-3@gated-at.bofh.it> (permalink)
References <sEQ9t-6V1-61@gated-at.bofh.it> <sERfc-7z4-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] usb: host: plat: Enable xhci plat runtime PM Baolin Wang <baolin.wang@linaro.org> - 2016-11-18 13:10 +0100
  [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume Baolin Wang <baolin.wang@linaro.org> - 2016-11-18 13:10 +0100
    Re: [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume Baolin Wang <baolin.wang@linaro.org> - 2016-11-21 07:30 +0100

csiph-web