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 <scottw...@freescale.com>
:::::: CC: Kumar Gala <ga...@kernel.crashing.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to