diff options
author | Zong Li <zong.li@sifive.com> | 2019-12-23 11:46:13 +0300 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2020-01-03 11:56:37 +0300 |
commit | 1d8f65798240b6577d8c44d20c8ea8f1d429e495 (patch) | |
tree | 3d83f684825cbaebff1a71c225970e226768442d /net/unix/af_unix.c | |
parent | cfda8617e22a8bf217a613d0b3ba3a38778443ba (diff) | |
download | linux-1d8f65798240b6577d8c44d20c8ea8f1d429e495.tar.xz |
riscv: ftrace: correct the condition logic in function graph tracer
The condition should be logical NOT to assign the hook address to parent
address. Because the return value 0 of function_graph_enter upon
success.
Fixes: e949b6db51dc (riscv/function_graph: Simplify with function_graph_enter())
Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: stable@vger.kernel.org
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions