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


Groups > linux.kernel > #1572365

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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [tip:WIP.sched/core 101/114] arch/sh/kernel/cpu/sh2a/fpu.c:574:2: error: implicit declaration of function 'force_sig'
Date Thu, 02 Feb 2017 14:40:02 +0100
Message-ID <t6pMe-4F2-13@gated-at.bofh.it> (permalink)
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.33,324,1477983600"; d="gz'50?scan'50,208,50";a="61043944"
MIME-Version 1.0
Content-Type multipart/mixed; boundary="Dxnq1zWXvFF0Q93v"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 250
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
X-Original-Date Thu, 2 Feb 2017 21:30:58 +0800
X-Original-Message-ID <201702022153.gr9j0rlo%fengguang.wu@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1572365

Show key headers only | View raw


[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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[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

csiph-web