diff options
author | Nuno Das Neves <nunodasneves@linux.microsoft.com> | 2025-07-03 15:44:35 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-07-09 23:49:25 +0000 |
commit | faab52b59b09721edeb8f92eabad3f4d320fb522 (patch) | |
tree | 77f4da7d53fab6196b81aff7a6142295b83a9958 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | bb169f80ed5a156ec3405e0e49c6b8e9ae264718 (diff) |
x86/hyperv: Clean up hv_map/unmap_interrupt() return values
Fix the return values of these hypercall helpers so they return
a negated errno either directly or via hv_result_to_errno().
Update the callers to check for errno instead of using
hv_status_success(), and remove redundant error printing.
While at it, rearrange some variable declarations to adhere to style
guidelines i.e. "reverse fir tree order".
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1751582677-30930-5-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1751582677-30930-5-git-send-email-nunodasneves@linux.microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions