Commit 24b9b8e9 authored by Nikita Shubin's avatar Nikita Shubin Committed by Greg Kroah-Hartman
Browse files

riscv: Fix fill_callchain return value



commit 2b2b574a upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f8c0bd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment