diff options
author | 2025-07-03 15:44:35 -0700 | |
---|---|---|
committer | 2025-07-09 23:49:25 +0000 | |
commit | faab52b59b09721edeb8f92eabad3f4d320fb522 (patch) | |
tree | 77f4da7d53fab6196b81aff7a6142295b83a9958 /rust/pin-init/internal/src | |
parent | x86/hyperv: Fix usage of cpu_online_mask to get valid cpu (diff) | |
download | wireguard-linux-faab52b59b09721edeb8f92eabad3f4d320fb522.tar.xz wireguard-linux-faab52b59b09721edeb8f92eabad3f4d320fb522.zip |
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 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions