diff options
author | Mark Rutland <[email protected]> | 2021-10-19 17:02:14 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-10-21 10:45:22 +0100 |
commit | e8c328d7de03bf4d7a18e38ff87a7c12fdf8afb1 (patch) | |
tree | a6d6df926b562bb352c680f7a0af7d29166c3984 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 819771cc289226e392d5d45f1d162b47ace4eff6 (diff) |
arm64: extable: make fixup_exception() return bool
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: Mark Rutland <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: James Morse <[email protected]>
Cc: Jean-Philippe Brucker <[email protected]>
Cc: Robin Murphy <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions