tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
WIP.sched/core
head:   7f79b5e3727bae36481c9bc5587291d88742291f
commit: 851f7523d850c32dc63b04cacf3a447e1b08e1e9 [61/63] sched/headers: Move 
signal wakeup & sigpending methods from <linux/sched.h> into 
<linux/sched/signal.h>
config: s390-default_defconfig (attached as .config)
compiler: s390x-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 851f7523d850c32dc63b04cacf3a447e1b08e1e9
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   arch/s390/crypto/prng.c: In function 'prng_tdes_read':
>> arch/s390/crypto/prng.c:460:8: error: implicit declaration of function 
>> 'signal_pending' [-Werror=implicit-function-declaration]
       if (signal_pending(current)) {
           ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   net/iucv/af_iucv.c: In function 'iucv_sock_close':
>> net/iucv/af_iucv.c:64:7: error: implicit declaration of function 
>> 'signal_pending' [-Werror=implicit-function-declaration]
      if (signal_pending(current)) {    \
          ^
   net/iucv/af_iucv.c:82:3: note: in expansion of macro '__iucv_sock_wait'
      __iucv_sock_wait(sk, condition, timeo, __ret);  \
      ^~~~~~~~~~~~~~~~
   net/iucv/af_iucv.c:509:4: note: in expansion of macro 'iucv_sock_wait'
       iucv_sock_wait(sk,
       ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/signal_pending +460 arch/s390/crypto/prng.c

57127645 Harald Freudenberger 2015-03-16  454   /* lock prng_data struct */
57127645 Harald Freudenberger 2015-03-16  455   if 
(mutex_lock_interruptible(&prng_data->mutex))
57127645 Harald Freudenberger 2015-03-16  456           return -ERESTARTSYS;
1b278294 Jan Glauber          2007-02-05  457  
1b278294 Jan Glauber          2007-02-05  458   while (nbytes) {
1b278294 Jan Glauber          2007-02-05  459           if (need_resched()) {
1b278294 Jan Glauber          2007-02-05 @460                   if 
(signal_pending(current)) {
1b278294 Jan Glauber          2007-02-05  461                           if (ret 
== 0)
1b278294 Jan Glauber          2007-02-05  462                                   
ret = -ERESTARTSYS;
1b278294 Jan Glauber          2007-02-05  463                           break;

:::::: The code at line 460 was first introduced by commit
:::::: 1b2782948997cf5a0d1747de13d43ba7dfa7c543 [S390] Support for s390 Pseudo 
Random Number Generator

:::::: TO: Jan Glauber <[email protected]>
:::::: CC: Martin Schwidefsky <[email protected]>

---
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