Re: [PATCH] riscv: remove unused variable in ftrace
From: Olof Johansson
Date: Thu Dec 06 2018 - 14:20:47 EST
On Thu, Dec 6, 2018 at 2:26 AM David Abdurachmanov
<david.abdurachmanov@xxxxxxxxx> wrote:
>
> Noticed while building kernel-4.20.0-0.rc5.git2.1.fc30 for
> Fedora 30/RISCV.
>
> [..]
> BUILDSTDERR: arch/riscv/kernel/ftrace.c: In function 'prepare_ftrace_return':
> BUILDSTDERR: arch/riscv/kernel/ftrace.c:135:6: warning: unused variable 'err' [-Wunused-variable]
> BUILDSTDERR: int err;
> BUILDSTDERR: ^~~
> [..]
>
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@xxxxxxxxx>
Please add a:
Fixes: e949b6db51dc1 ("riscv/function_graph: Simplify with
function_graph_enter()")
Reviewed-by: Olof Johansson <olof@xxxxxxxxx>