Re: [PATCH 1/2] riscv: ftrace: correct the condition logic in function graph tracer

From: Paul Walmsley
Date: Fri Jan 03 2020 - 19:14:28 EST


On Mon, 23 Dec 2019, Zong Li wrote:

> 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())
>

There shouldn't be a blank line here - I've removed it in the queued
version.

> Signed-off-by: Zong Li <zong.li@xxxxxxxxxx>

Thanks, queued for v5.5-rc.


- Paul