Message ID | 20240605202708.450784356@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 1f51ba905e792a4f6d7b313756a4f99386990ddf |
Headers | show |
Series | ftrace: Minor fixes for sparse and kernel test robot | expand |
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index da7e6abf48b4..3af0b1feb873 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -122,7 +122,7 @@ static int ftrace_disabled __read_mostly; DEFINE_MUTEX(ftrace_lock); -struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = &ftrace_list_end; +struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = (struct ftrace_ops __rcu *)&ftrace_list_end; ftrace_func_t ftrace_trace_function __read_mostly = ftrace_stub; struct ftrace_ops global_ops;