Zong Li 1d8f657982 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>
2020-01-03 00:56:37 -08:00
..
2019-12-09 10:36:44 -08:00
2019-12-18 17:47:38 +01:00
2019-12-22 10:26:59 -08:00
2019-11-28 11:16:43 -08:00
2019-12-02 17:35:04 -08:00
2019-12-06 10:28:09 -08:00
2019-12-12 16:34:33 +08:00
2019-12-02 17:18:43 -08:00
2019-12-22 10:26:59 -08:00
2019-12-09 10:36:44 -08:00
2019-11-28 10:57:12 -08:00
2019-12-22 10:26:59 -08:00
2019-12-04 19:44:12 -08:00