* [tip:WIP.sched/core 120/122] arch/powerpc/platforms/83xx/suspend.c:271:7: error: implicit declaration of function 'signal_pending'
@ 2017-02-02 23:56 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-02 23:56 UTC (permalink / raw)
To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, tipbuild
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-02 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-02 23:56 [tip:WIP.sched/core 120/122] arch/powerpc/platforms/83xx/suspend.c:271:7: error: implicit declaration of function 'signal_pending' kbuild test robot
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).