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>
This commit is contained in:
Jisheng Zhang 2021-11-18 19:24:14 +08:00 • committed by Palmer Dabbelt
commit ef127bca11
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 10 additions and 10 deletions