tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
ftrace-regs
head: 88610b6f216a17265a798caaefa557a8a73338f7
commit: ee600f9e55a19811b2e069cd405ea1dd4ea18819 [24/26] ftrace: Have the callbacks
receive a struct ftrace_regs instead of pt_regs
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git/c...
git remote add trace
https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
git fetch --no-tags trace ftrace-regs
git checkout ee600f9e55a19811b2e069cd405ea1dd4ea18819
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> kernel/trace/trace_events.c:3714:10: error: initialization of
'void (*)(long unsigned int, long unsigned int, struct ftrace_ops *, struct
ftrace_regs *)' from incompatible pointer type 'void (*)(long unsigned int, long
unsigned int, struct ftrace_ops *, struct pt_regs *)'
[-Werror=incompatible-pointer-types]
3714 | .func = function_test_events_call,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/trace/trace_events.c:3714:10: note: (near initialization for
'trace_ops.func')
cc1: some warnings being treated as errors
--
> fs/pstore/ftrace.c:61:10: error: initialization of 'void
(*)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs
*)' from incompatible pointer type 'void (*)(long unsigned int, long unsigned
int, struct ftrace_ops *, struct pt_regs *)' [-Werror=incompatible-pointer-types]
61 | .func = pstore_ftrace_call,
| ^~~~~~~~~~~~~~~~~~
fs/pstore/ftrace.c:61:10: note: (near initialization for
'pstore_ftrace_ops.func')
cc1: some warnings being treated as errors
vim +3714 kernel/trace/trace_events.c
9ea21c1ecdb35ec Steven Rostedt 2009-04-16 3711
9ea21c1ecdb35ec Steven Rostedt 2009-04-16 3712 static struct ftrace_ops trace_ops
__initdata =
9ea21c1ecdb35ec Steven Rostedt 2009-04-16 3713 {
9ea21c1ecdb35ec Steven Rostedt 2009-04-16 @3714 .func = function_test_events_call,
9ea21c1ecdb35ec Steven Rostedt 2009-04-16 3715 };
9ea21c1ecdb35ec Steven Rostedt 2009-04-16 3716
:::::: The code at line 3714 was first introduced by commit
:::::: 9ea21c1ecdb35ecdcac5fd9d95f62a1f6a7ffec0 tracing/events: perform function tracing
in event selftests
:::::: TO: Steven Rostedt <srostedt(a)redhat.com>
:::::: CC: Ingo Molnar <mingo(a)elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org