[PATCH] iommu/virtio: reverse arguments to list_add

Joerg Roedel joro at 8bytes.org
Fri May 8 15:31:49 UTC 2020


On Tue, May 05, 2020 at 08:47:47PM +0200, Julia Lawall wrote:
> Elsewhere in the file, there is a list_for_each_entry with
> &vdev->resv_regions as the second argument, suggesting that
> &vdev->resv_regions is the list head.  So exchange the
> arguments on the list_add call to put the list head in the
> second argument.
> 
> Fixes: 2a5a31487445 ("iommu/virtio: Add probe request")
> Signed-off-by: Julia Lawall <Julia.Lawall at inria.fr>

Applied for v5.7, thanks.


More information about the iommu mailing list