aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAmol Grover <[email protected]>2020-02-01 12:57:04 +0530
committerSteven Rostedt (VMware) <[email protected]>2020-02-05 17:14:26 -0500
commit24a9729f831462b1d9d61dc85ecc91c59037243f (patch)
tree5dba5453c90b039bac3afe99f4d2d25fd6f4200a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7495e0926fdf302cb9e62a49f7c22198815624cd (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