mbox series

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

Message ID 20240605202644.293295925@goodmis.org (mailing list archive)
Headers show
Series ftrace: Minor fixes for sparse and kernel test robot | expand

Message

Steven Rostedt June 5, 2024, 8:26 p.m. UTC
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(-)

Comments

Masami Hiramatsu (Google) June 5, 2024, 9:53 p.m. UTC | #1
On Wed, 05 Jun 2024 16:26:44 -0400
Steven Rostedt <rostedt@goodmis.org> 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@kernel.org>

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