All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Anthony Yznaga <anthony.yznaga@oracle.com>
Cc: kvm@vger.kernel.org, steven.sistare@oracle.com
Subject: Re: [PATCH v3] vfio/type1: Fix vfio_find_dma_valid return
Date: Thu, 26 Aug 2021 16:21:01 -0600	[thread overview]
Message-ID: <20210826162101.53e0ae9f.alex.williamson@redhat.com> (raw)
In-Reply-To: <1629736550-2388-1-git-send-email-anthony.yznaga@oracle.com>

On Mon, 23 Aug 2021 09:35:50 -0700
Anthony Yznaga <anthony.yznaga@oracle.com> 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@oracle.com>
> Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
> 
> ---
> 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


      reply	other threads:[~2021-08-26 22:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23 16:35 [PATCH v3] vfio/type1: Fix vfio_find_dma_valid return Anthony Yznaga
2021-08-26 22:21 ` Alex Williamson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210826162101.53e0ae9f.alex.williamson@redhat.com \
    --to=alex.williamson@redhat.com \
    --cc=anthony.yznaga@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=steven.sistare@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.