diff options
author | Nuno Das Neves <nunodasneves@linux.microsoft.com> | 2025-07-04 01:44:35 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-07-10 02:49:25 +0300 |
commit | faab52b59b09721edeb8f92eabad3f4d320fb522 (patch) | |
tree | 77f4da7d53fab6196b81aff7a6142295b83a9958 /scripts/gdb/linux/xarray.py | |
parent | bb169f80ed5a156ec3405e0e49c6b8e9ae264718 (diff) | |
download | linux-faab52b59b09721edeb8f92eabad3f4d320fb522.tar.xz |
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 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions