Unverified Commit 2b2b574a authored by Nikita Shubin's avatar Nikita Shubin Committed by Palmer Dabbelt
Browse files

riscv: Fix fill_callchain return value

perf_callchain_store return 0 on success, -1 otherwise,
fix fill_callchain to return correct bool value.

Fixes: dbeb90b0

 ("riscv: Add perf callchain support")
Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 6846d656
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment