From: Baolin Wang <baolin.wang@linaro.org>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, mathias.nyman@intel.com,
Felipe Balbi <balbi@kernel.org>,
Greg KH <gregkh@linuxfoundation.org>,
Mark Brown <broonie@kernel.org>, USB <linux-usb@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume
Date: Mon, 21 Nov 2016 14:22:11 +0800 [thread overview]
Message-ID: <CAMz4ku+xph6bw1VERqZOhOZ-8Ns6hTLC6Q61EcvwhJGiy2_KTw@mail.gmail.com> (raw)
In-Reply-To: <201611182114.VznHVMqN%fengguang.wu@intel.com>
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
prev parent reply other threads:[~2016-11-21 6:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-18 12:01 [PATCH 1/2] usb: host: plat: Enable xhci plat runtime PM Baolin Wang
2016-11-18 12:01 ` [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume Baolin Wang
2016-11-18 13:14 ` kbuild test robot
2016-11-21 6:22 ` Baolin Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMz4ku+xph6bw1VERqZOhOZ-8Ns6hTLC6Q61EcvwhJGiy2_KTw@mail.gmail.com \
--to=baolin.wang@linaro.org \
--cc=balbi@kernel.org \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mathias.nyman@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).