[<prev] [next>] [day] [month] [year] [list]
Date: Fri, 3 Feb 2017 06:27:48 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.sched/core 61/63] arch/s390/crypto/prng.c:460:8: error:
implicit declaration of function 'signal_pending'
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 <jan.glauber@...ibm.com>
:::::: CC: Martin Schwidefsky <schwidefsky@...ibm.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (16723 bytes)
Powered by blists - more mailing lists