RE: [PATCH v2 4/6] x86/hyperv: Clean up hv_map/unmap_interrupt() return values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx> Sent: Thursday, July 3, 2025 3:45 PM
> 
> 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@xxxxxxxxxxxxxxxxxxx>
> ---
>  arch/x86/hyperv/irqdomain.c  | 32 ++++++++++++++------------------
>  drivers/iommu/hyperv-iommu.c | 33 ++++++++++++---------------------
>  2 files changed, 26 insertions(+), 39 deletions(-)

Reviewed-by: Michael Kelley <mhklinux@xxxxxxxxxxx>





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux