• Mark Rutland's avatar
    arm64: extable: make fixup_exception() return bool · e8c328d7
    Mark Rutland authored
    The return values of fixup_exception() and arm64_bpf_fixup_exception()
    represent a boolean condition rather than an error code, so for clarity
    it would be better to return `bool` rather than `int`.
    
    This patch adjusts the code accordingly. While we're modifying the
    prototype, we also remove the unnecessary `extern` keyword, so that this
    won't look out of place when we make subsequent additions to the header.
    
    There should be no functional change as a result of this patch.
    Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
    Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
    Cc: Alexei Starovoitov <ast@kernel.org>
    Cc: Andrii Nakryiko <andrii@kernel.org>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Daniel Borkmann <daniel@iogearbox.net>
    Cc: James Morse <james.morse@arm.com>
    Cc: Jean-Philippe Brucker <jean-philippe@linaro.org>
    Cc: Robin Murphy <robin.murphy@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Link: https://lore.kernel.org/r/20211019160219.5202-9-mark.rutland@arm.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
    e8c328d7
bpf_jit_comp.c 29.3 KB