aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorNuno Das Neves <[email protected]>2025-07-03 22:44:35 +0000
committerWei Liu <[email protected]>2025-07-09 23:49:25 +0000
commitfaab52b59b09721edeb8f92eabad3f4d320fb522 (patch)
tree77f4da7d53fab6196b81aff7a6142295b83a9958 /tools/lib/bpf/bpf_prog_linfo.c
parentx86/hyperv: Fix usage of cpu_online_mask to get valid cpu (diff)
downloadkernel-faab52b59b09721edeb8f92eabad3f4d320fb522.tar.gz
kernel-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 <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/1751582677-30930-5-git-send-email-nunodasneves@linux.microsoft.com Signed-off-by: Wei Liu <[email protected]> Message-ID: <1751582677-30930-5-git-send-email-nunodasneves@linux.microsoft.com>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions