Re: [PATCH 0/6] ftrace: Minor fixes for sparse and kernel test robot

From: Google
Date: Wed Jun 05 2024 - 17:53:20 EST


On Wed, 05 Jun 2024 16:26:44 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>
> Recieved some minor bug reports from the kernel test robot. First I started
> cleaning up some of the sparse warnings. There's many more, but most changes
> are not really helping anything, but just quieting the warnings.
>
> But the reports from kernel test robot need to be fixed.

All looks good to me.

Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>

Thank you!

>
> Steven Rostedt (Google) (6):
> ftrace: Declare function_trace_op in header to quiet sparse warning
> ftrace: Assign ftrace_list_end to ftrace_ops_list type cast to RCU
> ftrace: Assign RCU list variable with rcu_assign_ptr()
> ftrace: Fix prototypes for ftrace_startup/shutdown_subops()
> function_graph: Make fgraph_do_direct static key static
> function_graph: Do not update pid func if CONFIG_DYNAMIC_FTRACE not enabled
>
> ----
> include/linux/ftrace.h | 3 +++
> kernel/trace/fgraph.c | 4 +++-
> kernel/trace/ftrace.c | 4 ++--
> kernel/trace/ftrace_internal.h | 9 +++++++++
> kernel/trace/trace.h | 1 -
> 5 files changed, 17 insertions(+), 4 deletions(-)


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>