Re: [PATCH v2 2/2] vfio: use the new pci_dev_trylock() helper to simplify try lock
From: Cornelia Huck
Date: Wed Jun 23 2021 - 05:31:35 EST
On Tue, Jun 22 2021, Luis Chamberlain <mcgrof@xxxxxxxxxx> wrote:
> Use the new pci_dev_trylock() helper to simplify our locking.
>
> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> ---
> drivers/vfio/pci/vfio_pci.c | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>