Re: [PATCH] iommu/virtio: reverse arguments to list_add

From: Joerg Roedel
Date: Fri May 08 2020 - 11:31:55 EST


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@xxxxxxxx>

Applied for v5.7, thanks.