OSDN Git Service

riscv: extable: make fixup_exception() return bool
authorJisheng Zhang <jszhang@kernel.org>
Thu, 18 Nov 2021 11:24:14 +0000 (19:24 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 6 Jan 2022 01:52:29 +0000 (17:52 -0800)
commitef127bca1129d3d15f909f9215b9431a2f67555a
tree3e29bc1108febb2e804c22b9021f80ddfc999677
parentc07935cb3ccf37acc5df079074ba20a720716f7a
riscv: extable: make fixup_exception() return bool

The return values of fixup_exception() and riscv_bpf_fixup_exception()
represent a boolean condition rather than an error code, so it's better
to return `bool` rather than `int`.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/extable.h
arch/riscv/mm/extable.c
arch/riscv/net/bpf_jit_comp64.c