[tip:WIP.sched/core 61/63] sound/oss/dmasound/dmasound_core.c:635:4: error: implicit declaration of function 'signal_pending'
From: kbuild test robot
Date: Thu Feb 02 2017 - 17:21:42 EST
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: m68k-multi_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
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=m68k
All errors (new ones prefixed by >>):
sound/oss/dmasound/dmasound_core.c: In function 'sq_write':
>> sound/oss/dmasound/dmasound_core.c:635:4: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
if (signal_pending(current)) {
^
cc1: some warnings being treated as errors
--
/kbuild/src/m68k/sound/oss/dmasound/dmasound_core.c: In function 'sq_write':
>> /kbuild/src/m68k/sound/oss/dmasound/dmasound_core.c:635:4: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
if (signal_pending(current)) {
^
cc1: some warnings being treated as errors
vim +/signal_pending +635 sound/oss/dmasound/dmasound_core.c
^1da177e Linus Torvalds 2005-04-16 629 return uWritten > 0 ? uWritten : -EAGAIN;
1a1e0a80 Arnd Bergmann 2014-01-02 630 }
1a1e0a80 Arnd Bergmann 2014-01-02 631 if (write_sq.count < write_sq.max_active)
1a1e0a80 Arnd Bergmann 2014-01-02 632 break;
1a1e0a80 Arnd Bergmann 2014-01-02 633
1a1e0a80 Arnd Bergmann 2014-01-02 634 schedule_timeout(HZ);
1a1e0a80 Arnd Bergmann 2014-01-02 @635 if (signal_pending(current)) {
1a1e0a80 Arnd Bergmann 2014-01-02 636 finish_wait(&write_sq.action_queue, &wait);
^1da177e Linus Torvalds 2005-04-16 637 return uWritten > 0 ? uWritten : -EINTR;
^1da177e Linus Torvalds 2005-04-16 638 }
:::::: The code at line 635 was first introduced by commit
:::::: 1a1e0a80ceb766852e8abd5d4c3d9475611a7d85 sound: oss: dmasound: kill SLEEP() macro to avoid race
:::::: TO: Arnd Bergmann <arnd@xxxxxxxx>
:::::: CC: Takashi Iwai <tiwai@xxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip