Re: [PATCH v14 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP
From: Alex Williamson
Date: Wed Nov 16 2016 - 19:02:11 EST
On Thu, 17 Nov 2016 02:16:23 +0530
Kirti Wankhede <kwankhede@xxxxxxxxxx> wrote:
> @@ -1321,12 +1350,11 @@ static void vfio_iommu_unmap_unpin_reaccount(struct vfio_iommu *iommu)
>
> static void vfio_sanity_check_pfn_list(struct vfio_iommu *iommu)
> {
> - struct rb_node *n, *p;
> + struct rb_node *n;
>
> n = rb_first(&iommu->dma_list);
> for (; n; n = rb_next(n)) {
> struct vfio_dma *dma;
> - int unlocked = 0;
>
> dma = rb_entry(n, struct vfio_dma, node);
>
This chunk really should have been part of 10/22 as well.