diff options
author | Amol Grover <[email protected]> | 2020-02-05 11:27:02 +0530 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-02-05 17:14:37 -0500 |
commit | fd0e6852c407dd9aefc594f54ddcc21d84803d3b (patch) | |
tree | 98e6675e33a4f279233def8e73fd07191a8474ab /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 24a9729f831462b1d9d61dc85ecc91c59037243f (diff) |
tracing: Annotate ftrace_graph_notrace_hash pointer with __rcu
Fix following instances of sparse error
kernel/trace/ftrace.c:5667:29: error: incompatible types in comparison
kernel/trace/ftrace.c:5813:21: error: incompatible types in comparison
kernel/trace/ftrace.c:5868:36: error: incompatible types in comparison
kernel/trace/ftrace.c:5870:25: error: incompatible types in comparison
Use rcu_dereference_protected to dereference the newly annotated pointer.
Link: http://lkml.kernel.org/r/[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