[lkml]   [2019]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3] signal: trace_signal_deliver when signal_group_exit
Hi Zhenliang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.1-rc6 next-20190418]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=parisc

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <>

All errors (new ones prefixed by >>):

In file included from arch/parisc/include/asm/signal.h:5:0,
from include/uapi/linux/signal.h:5,
from include/linux/signal_types.h:10,
from include/linux/sched.h:28,
from include/linux/sched/mm.h:7,
from kernel/signal.c:16:
kernel/signal.c: In function 'get_signal':
>> arch/parisc/include/uapi/asm/signal.h:77:17: error: passing argument 3 of 'trace_signal_deliver' from incompatible pointer type [-Werror=incompatible-pointer-types]
#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
kernel/signal.c:2444:50: note: in expansion of macro 'SIG_DFL'
trace_signal_deliver(SIGKILL, SEND_SIG_NOINFO, SIG_DFL);
In file included from include/trace/syscall.h:5:0,
from include/linux/syscalls.h:86,
from kernel/signal.c:29:
include/linux/tracepoint.h:235:21: note: expected 'struct k_sigaction *' but argument is of type 'void (*)(int)'
static inline void trace_##name(proto) \
include/linux/tracepoint.h:398:2: note: in expansion of macro '__DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
include/linux/tracepoint.h:534:2: note: in expansion of macro 'DECLARE_TRACE'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
include/trace/events/signal.h:96:1: note: in expansion of macro 'TRACE_EVENT'
cc1: some warnings being treated as errors

vim +/trace_signal_deliver +77 arch/parisc/include/uapi/asm/signal.h

70c1674f6 David Howells 2012-10-16 76
70c1674f6 David Howells 2012-10-16 @77 #define SIG_DFL ((__sighandler_t)0) /* default signal handling */
70c1674f6 David Howells 2012-10-16 78 #define SIG_IGN ((__sighandler_t)1) /* ignore signal */
70c1674f6 David Howells 2012-10-16 79 #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
70c1674f6 David Howells 2012-10-16 80

:::::: The code at line 77 was first introduced by commit
:::::: 70c1674f62026e455c0c821fb7f4baf24d2d1139 UAPI: (Scripted) Disintegrate arch/parisc/include/asm

:::::: TO: David Howells <>
:::::: CC: David Howells <>

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2019-04-23 03:10    [W:0.097 / U:2.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site