Commit 3d1fc7b0880c4db612a3d3211a808659e28af588
Committed by
Steven Rostedt
1 parent
c02c7e65d9
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
tracing/kprobes: Fix a sparse warning for incorrect type in assignment
Fix a sparse warning about the rcu operated pointer is defined without __rcu address space. Link: http://lkml.kernel.org/r/20130513115837.6545.23322.stgit@mhiramat-M0-7522 Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
kernel/trace/trace_kprobe.c
... | ... | @@ -35,7 +35,7 @@ |
35 | 35 | const char *symbol; /* symbol name */ |
36 | 36 | struct ftrace_event_class class; |
37 | 37 | struct ftrace_event_call call; |
38 | - struct ftrace_event_file **files; | |
38 | + struct ftrace_event_file * __rcu *files; | |
39 | 39 | ssize_t size; /* trace entry size */ |
40 | 40 | unsigned int nr_args; |
41 | 41 | struct probe_arg args[]; |