Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572365 > unrolled thread

[tip:WIP.sched/core 101/114] arch/sh/kernel/cpu/sh2a/fpu.c:574:2: error: implicit declaration of function 'force_sig'

Started bykbuild test robot <fengguang.wu@intel.com>
First post2017-02-02 14:40 +0100
Last post2017-02-02 14:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [tip:WIP.sched/core 101/114] arch/sh/kernel/cpu/sh2a/fpu.c:574:2:  error: implicit declaration of function 'force_sig' kbuild test robot <fengguang.wu@intel.com> - 2017-02-02 14:40 +0100

#1572365 — [tip:WIP.sched/core 101/114] arch/sh/kernel/cpu/sh2a/fpu.c:574:2: error: implicit declaration of function 'force_sig'

Fromkbuild test robot <fengguang.wu@intel.com>
Date2017-02-02 14:40 +0100
Subject[tip:WIP.sched/core 101/114] arch/sh/kernel/cpu/sh2a/fpu.c:574:2: error: implicit declaration of function 'force_sig'
Message-ID<t6pMe-4F2-13@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head:   6ddb6fab35cf50127c3c4dc9d5e15da4258a86c5
commit: 397fbcb564288fb6d39400ae1d2f3363ba19c501 [101/114] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h>
config: sh-rsk7269_defconfig (attached as .config)
compiler: sh4-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 397fbcb564288fb6d39400ae1d2f3363ba19c501
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   arch/sh/kernel/cpu/sh2a/fpu.c: In function 'fpu_error_trap_handler':
>> arch/sh/kernel/cpu/sh2a/fpu.c:574:2: error: implicit declaration of function 'force_sig' [-Werror=implicit-function-declaration]
     force_sig(SIGFPE, tsk);
     ^~~~~~~~~
   cc1: some warnings being treated as errors

vim +/force_sig +574 arch/sh/kernel/cpu/sh2a/fpu.c

74d99a5e Paul Mundt    2007-11-26  568  		grab_fpu(regs);
74d99a5e Paul Mundt    2007-11-26  569  		restore_fpu(tsk);
d3ea9fa0 Stuart Menefy 2009-09-25  570  		task_thread_info(tsk)->status |= TS_USEDFPU;
74d99a5e Paul Mundt    2007-11-26  571  		return;
74d99a5e Paul Mundt    2007-11-26  572  	}
74d99a5e Paul Mundt    2007-11-26  573  
74d99a5e Paul Mundt    2007-11-26 @574  	force_sig(SIGFPE, tsk);
74d99a5e Paul Mundt    2007-11-26  575  }

:::::: The code at line 574 was first introduced by commit
:::::: 74d99a5e262229ee865f6f68528d10b82471ead6 sh: SH-2A FPU support.

:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web