From: kbuild test robot <fengguang.wu@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
Subject: [tip:WIP.sched/core 120/122] arch/powerpc/platforms/83xx/suspend.c:271:7: error: implicit declaration of function 'signal_pending'
Date: Fri, 3 Feb 2017 07:56:47 +0800 [thread overview]
Message-ID: <201702030735.pbfqDRqy%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2217 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: a69a38e26e87ddbe993e33b55f693405cd62c76f
commit: 88d0fe4cbc5e74cda2764df63cb369f32746af54 [120/122] sched/headers: Move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h>
config: powerpc-mpc83xx_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 88d0fe4cbc5e74cda2764df63cb369f32746af54
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
arch/powerpc/platforms/83xx/suspend.c: In function 'agent_thread_fn':
>> arch/powerpc/platforms/83xx/suspend.c:271:7: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
if (signal_pending(current) || pci_pm_state < 2)
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/signal_pending +271 arch/powerpc/platforms/83xx/suspend.c
d49747bd Scott Wood 2007-10-09 265 static int agent_thread_fn(void *data)
d49747bd Scott Wood 2007-10-09 266 {
d49747bd Scott Wood 2007-10-09 267 while (1) {
d49747bd Scott Wood 2007-10-09 268 wait_event_interruptible(agent_wq, pci_pm_state >= 2);
d49747bd Scott Wood 2007-10-09 269 try_to_freeze();
d49747bd Scott Wood 2007-10-09 270
d49747bd Scott Wood 2007-10-09 @271 if (signal_pending(current) || pci_pm_state < 2)
d49747bd Scott Wood 2007-10-09 272 continue;
d49747bd Scott Wood 2007-10-09 273
d49747bd Scott Wood 2007-10-09 274 /* With a preemptible kernel (or SMP), this could race with
:::::: The code at line 271 was first introduced by commit
:::::: d49747bdfb2ddebea24d1580da55b79d093d48a9 powerpc/mpc83xx: Power Management support
:::::: TO: Scott Wood <scottwood@freescale.com>
:::::: CC: Kumar Gala <galak@kernel.crashing.org>
---
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: 16894 bytes --]
reply other threads:[~2017-02-02 23:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201702030735.pbfqDRqy%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tipbuild@zytor.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
all inboxes | Powered by JetHome®