* [trace:trace/core 21/22] include/linux/ftrace.h:47:47: warning: 'struct fgraph_ret_regs' declared inside parameter list will not be visible outside of this definition or declaration
@ 2023-07-11 20:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-11 20:02 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: oe-kbuild-all, Steven Rostedt (Google)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace trace/core
head: 46b77ea28faeed56f1d1b63f9049c40b9eb3cbf5
commit: 55803539764e831c4e642de1c6634f8f645a10aa [21/22] tracing: arm64: Avoid missing-prototype warnings
config: i386-defconfig (https://download.01.org/0day-ci/archive/20230712/202307120334.Fn8EEmph-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230712/202307120334.Fn8EEmph-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307120334.Fn8EEmph-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/perf_event.h:52,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:88,
from arch/x86/entry/syscall_32.c:7:
>> include/linux/ftrace.h:47:47: warning: 'struct fgraph_ret_regs' declared inside parameter list will not be visible outside of this definition or declaration
47 | unsigned long ftrace_return_to_handler(struct fgraph_ret_regs *ret_regs);
| ^~~~~~~~~~~~~~~
--
In file included from include/linux/perf_event.h:52,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:88,
from include/linux/entry-common.h:7,
from arch/x86/entry/common.c:13:
>> include/linux/ftrace.h:47:47: warning: 'struct fgraph_ret_regs' declared inside parameter list will not be visible outside of this definition or declaration
47 | unsigned long ftrace_return_to_handler(struct fgraph_ret_regs *ret_regs);
| ^~~~~~~~~~~~~~~
arch/x86/entry/common.c:119:24: warning: no previous prototype for 'do_int80_syscall_32' [-Wmissing-prototypes]
119 | __visible noinstr void do_int80_syscall_32(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c:186:24: warning: no previous prototype for 'do_fast_syscall_32' [-Wmissing-prototypes]
186 | __visible noinstr long do_fast_syscall_32(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c:238:24: warning: no previous prototype for 'do_SYSENTER_32' [-Wmissing-prototypes]
238 | __visible noinstr long do_SYSENTER_32(struct pt_regs *regs)
| ^~~~~~~~~~~~~~
vim +47 include/linux/ftrace.h
45
46 #ifdef CONFIG_HAVE_FUNCTION_GRAPH_RETVAL
> 47 unsigned long ftrace_return_to_handler(struct fgraph_ret_regs *ret_regs);
48 #else
49 unsigned long ftrace_return_to_handler(unsigned long frame_pointer);
50 #endif
51
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-11 20:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 20:02 [trace:trace/core 21/22] include/linux/ftrace.h:47:47: warning: 'struct fgraph_ret_regs' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.