diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2020-05-05 21:47:47 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-08 18:31:18 +0300 |
commit | fb3637a113349f53830f7d6ca45891b7192cd28f (patch) | |
tree | 84d97134d57b129345feeb8349095b2001a7f0dd /drivers/message/fusion/mptctl.h | |
parent | 119b2b2c3e256f4bcff7439acc25ac1e9f1aaa4e (diff) | |
download | linux-fb3637a113349f53830f7d6ca45891b7192cd28f.tar.xz |
iommu/virtio: Reverse arguments to list_add
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@inria.fr>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/1588704467-13431-1-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptctl.h')
0 files changed, 0 insertions, 0 deletions