Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753492AbcKUGWO (ORCPT ); Mon, 21 Nov 2016 01:22:14 -0500 Received: from mail-yw0-f169.google.com ([209.85.161.169]:32814 "EHLO mail-yw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbcKUGWN (ORCPT ); Mon, 21 Nov 2016 01:22:13 -0500 MIME-Version: 1.0 In-Reply-To: <201611182114.VznHVMqN%fengguang.wu@intel.com> References: <85d3b2acbc173e285cf91847fa8ba128b469cbc1.1479470374.git.baolin.wang@linaro.org> <201611182114.VznHVMqN%fengguang.wu@intel.com> From: Baolin Wang Date: Mon, 21 Nov 2016 14:22:11 +0800 Message-ID: Subject: Re: [PATCH 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume To: kbuild test robot Cc: kbuild-all@01.org, mathias.nyman@intel.com, Felipe Balbi , Greg KH , Mark Brown , USB , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1615 Lines: 40 On 18 November 2016 at 21:14, kbuild test robot 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