Re: [PATCH v3] vfio/type1: Fix vfio_find_dma_valid return

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

 



On Mon, 23 Aug 2021 09:35:50 -0700
Anthony Yznaga <anthony.yznaga@xxxxxxxxxx> wrote:

> vfio_find_dma_valid is defined to return WAITED on success if it was
> necessary to wait.  However, the loop forgets the WAITED value returned
> by vfio_wait() and returns 0 in a later iteration.  Fix it.
> 
> Signed-off-by: Anthony Yznaga <anthony.yznaga@xxxxxxxxxx>
> Reviewed-by: Steve Sistare <steven.sistare@xxxxxxxxxx>
> 
> ---
> v3:
>   use Steve Sistare's suggested commit text and add his R-b
> v2:
>   use Alex Williamson's simplified fix
> 
>  drivers/vfio/vfio_iommu_type1.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied to vfio next branch for v5.15.  Thanks,

Alex




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux