diff options
author | Amol Grover <frextrite@gmail.com> | 2020-02-05 08:57:02 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-06 01:14:37 +0300 |
commit | fd0e6852c407dd9aefc594f54ddcc21d84803d3b (patch) | |
tree | 98e6675e33a4f279233def8e73fd07191a8474ab /scripts/gdb/linux/utils.py | |
parent | 24a9729f831462b1d9d61dc85ecc91c59037243f (diff) | |
download | linux-fd0e6852c407dd9aefc594f54ddcc21d84803d3b.tar.xz |
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/20200205055701.30195-1-frextrite@gmail.com
Signed-off-by: Amol Grover <frextrite@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions