2024-06-05 20:28:42

by Steven Rostedt

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


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.

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(-)


2024-06-05 22:12:36

by Masami Hiramatsu

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

On Wed, 05 Jun 2024 16:26:44 -0400
Steven Rostedt <[email protected]> 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) <[email protected]>

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) <[email protected]>