LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Cc: kbuild-all@01.org, stern@rowland.harvard.edu,
gregkh@linuxfoundation.org, martin.blumenstingl@googlemail.com,
ravisadineni@google.com, chunfeng.yun@mediatek.com,
johan@kernel.org, arvind.yadav.cs@gmail.com, dtor@google.com,
anton.bondarenko.sama@gmail.com, f.fainelli@gmail.com,
keescook@chromium.org, mathias.nyman@linux.intel.com,
felipe.balbi@linux.intel.com, ekorenevsky@gmail.com,
peter.chen@nxp.com, joe@perches.com, tbroch@google.com,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
rajatja@google.com, bleung@google.com,
Ravi Chandra Sadineni <ravisadineni@chromium.org>
Subject: Re: [PATCH] USB: Increment wakeup count on remote wakeup.
Date: Thu, 19 Apr 2018 17:33:17 +0800 [thread overview]
Message-ID: <201804191703.j9cCt1T7%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180419001850.133110-1-ravisadineni@chromium.org>
[-- Attachment #1: Type: text/plain, Size: 2175 bytes --]
Hi Ravi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.17-rc1 next-20180419]
[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/Ravi-Chandra-Sadineni/USB-Increment-wakeup-count-on-remote-wakeup/20180419-165317
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: i386-randconfig-s0-201815 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/usb/core/hcd.c: In function 'usb_hcd_resume_root_hub':
>> drivers/usb/core/hcd.c:2378:18: error: 'dev' undeclared (first use in this function)
pm_wakeup_event(dev, 0);
^~~
drivers/usb/core/hcd.c:2378:18: note: each undeclared identifier is reported only once for each function it appears in
vim +/dev +2378 drivers/usb/core/hcd.c
2364
2365 /**
2366 * usb_hcd_resume_root_hub - called by HCD to resume its root hub
2367 * @hcd: host controller for this root hub
2368 *
2369 * The USB host controller calls this function when its root hub is
2370 * suspended (with the remote wakeup feature enabled) and a remote
2371 * wakeup request is received. The routine submits a workqueue request
2372 * to resume the root hub (that is, manage its downstream ports again).
2373 */
2374 void usb_hcd_resume_root_hub (struct usb_hcd *hcd)
2375 {
2376 unsigned long flags;
2377
> 2378 pm_wakeup_event(dev, 0);
2379 spin_lock_irqsave (&hcd_root_hub_lock, flags);
2380 if (hcd->rh_registered) {
2381 set_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
2382 queue_work(pm_wq, &hcd->wakeup_work);
2383 }
2384 spin_unlock_irqrestore (&hcd_root_hub_lock, flags);
2385 }
2386 EXPORT_SYMBOL_GPL(usb_hcd_resume_root_hub);
2387
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31325 bytes --]
next prev parent reply other threads:[~2018-04-19 9:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-19 0:18 Ravi Chandra Sadineni
2018-04-19 9:30 ` kbuild test robot
2018-04-19 9:33 ` kbuild test robot [this message]
2018-04-19 15:01 ` Alan Stern
2018-04-19 16:17 ` Rajat Jain
2018-04-20 0:27 ` [PATCH V2] " Ravi Chandra Sadineni
2018-04-20 14:12 ` Alan Stern
2018-04-20 17:05 ` [PATCH V3] " Ravi Chandra Sadineni
2018-04-20 17:29 ` Alan Stern
2018-04-20 17:54 ` [PATCH V4] " Ravi Chandra Sadineni
2018-04-20 18:08 ` [PATCH V5] " Ravi Chandra Sadineni
2018-04-20 18:22 ` Alan Stern
2018-04-21 8:59 ` Greg KH
2018-04-21 13:37 ` Ravi Chandra Sadineni
2018-04-20 18:12 ` [PATCH V3] " Ravi Chandra Sadineni
2018-04-20 17:07 ` [PATCH V2] " Ravi Chandra Sadineni
2018-04-20 0:50 ` [PATCH] " Ravi Chandra Sadineni
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=201804191703.j9cCt1T7%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=anton.bondarenko.sama@gmail.com \
--cc=arvind.yadav.cs@gmail.com \
--cc=bleung@google.com \
--cc=chunfeng.yun@mediatek.com \
--cc=dtor@google.com \
--cc=ekorenevsky@gmail.com \
--cc=f.fainelli@gmail.com \
--cc=felipe.balbi@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=joe@perches.com \
--cc=johan@kernel.org \
--cc=kbuild-all@01.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mathias.nyman@linux.intel.com \
--cc=peter.chen@nxp.com \
--cc=rajatja@google.com \
--cc=ravisadineni@chromium.org \
--cc=ravisadineni@google.com \
--cc=stern@rowland.harvard.edu \
--cc=tbroch@google.com \
--subject='Re: [PATCH] USB: Increment wakeup count on remote wakeup.' \
/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
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).