diff options
author | Amol Grover <[email protected]> | 2020-02-01 12:57:04 +0530 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-02-05 17:14:26 -0500 |
commit | 24a9729f831462b1d9d61dc85ecc91c59037243f (patch) | |
tree | 5dba5453c90b039bac3afe99f4d2d25fd6f4200a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 7495e0926fdf302cb9e62a49f7c22198815624cd (diff) |
tracing: Annotate ftrace_graph_hash pointer with __rcu
Fix following instances of sparse error
kernel/trace/ftrace.c:5664:29: error: incompatible types in comparison
kernel/trace/ftrace.c:5785:21: error: incompatible types in comparison
kernel/trace/ftrace.c:5864:36: error: incompatible types in comparison
kernel/trace/ftrace.c:5866:25: error: incompatible types in comparison
Use rcu_dereference_protected to access the __rcu annotated pointer.
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Signed-off-by: Amol Grover <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions