linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:WIP.sched/core 61/63] sound/oss/dmasound/dmasound_core.c:635:4: error: implicit declaration of function 'signal_pending'
@ 2017-02-02 22:20 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-02 22:20 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, tipbuild

[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]

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@arndb.de>
:::::: CC: Takashi Iwai <tiwai@suse.de>

---
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: 13228 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-02 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-02 22:20 [tip:WIP.sched/core 61/63] sound/oss/dmasound/dmasound_core.c:635:4: 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).