lkml.org 
[lkml]   [2017]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:WIP.sched/core 74/154] arch/arm/nwfpe/fpmodule.c:54:21: error: implicit declaration of function 'send_sig'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: 12372f63e2728a509817b56878cd6633d92053b3
commit: 3cff44a935eba893a68a1bcb3ee7e90cbbbabbb7 [74/154] sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h>
config: arm-h3600_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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 3cff44a935eba893a68a1bcb3ee7e90cbbbabbb7
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

arch/arm/nwfpe/fpmodule.c: In function 'float_raise':
>> arch/arm/nwfpe/fpmodule.c:54:21: error: implicit declaration of function 'send_sig' [-Werror=implicit-function-declaration]
#define fp_send_sig send_sig
^
arch/arm/nwfpe/fpmodule.c:178:3: note: in expansion of macro 'fp_send_sig'
fp_send_sig(SIGFPE, current, 1);
^~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/send_sig +54 arch/arm/nwfpe/fpmodule.c

^1da177e Linus Torvalds 2005-04-16 48 #define NWFPE_BITS "double"
^1da177e Linus Torvalds 2005-04-16 49 #endif
^1da177e Linus Torvalds 2005-04-16 50
^1da177e Linus Torvalds 2005-04-16 51 #ifdef MODULE
^1da177e Linus Torvalds 2005-04-16 52 void fp_send_sig(unsigned long sig, struct task_struct *p, int priv);
^1da177e Linus Torvalds 2005-04-16 53 #else
^1da177e Linus Torvalds 2005-04-16 @54 #define fp_send_sig send_sig
^1da177e Linus Torvalds 2005-04-16 55 #define kern_fp_enter fp_enter
^1da177e Linus Torvalds 2005-04-16 56
^1da177e Linus Torvalds 2005-04-16 57 extern char fpe_type[];

:::::: The code at line 54 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-02-12 02:55    [W:0.023 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site