On 3/26/2020 4:19 PM, Cornelia Huck wrote:
On Wed, 25 Mar 2020 01:02:34 +0530
Kirti Wankhede <kwankhede@xxxxxxxxxx> wrote:
vfio_pfn.ref_count is always updated by holding iommu->lock, using atomic
s/by/while/
Ok.
variable is overkill.
Signed-off-by: Kirti Wankhede <kwankhede@xxxxxxxxxx>
Reviewed-by: Neo Jia <cjia@xxxxxxxxxx>
Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>
---
drivers/vfio/vfio_iommu_type1.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>
Thanks,
Kirti