VT-d: drop undue address-of from check_cleanup_domid_map()
authorJan Beulich <jbeulich@suse.com>
Thu, 10 Mar 2022 08:43:50 +0000 (09:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Mar 2022 08:43:50 +0000 (09:43 +0100)
For an unknown reason I added back the operator while backporting,
despite 4.16 having c06e3d810314 ("VT-d: per-domain IOMMU bitmap needs
to have dynamic size"). I can only assume that I mistakenly took the
4.15 backport as basis and/or reference.

Fixes: fa45f6b5560e ("VT-d: split domid map cleanup check into a function")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/passthrough/vtd/iommu.c

index 3b37bad25e878f32233185e48e3ea94f62b7ebac..ead12db6a4b51c05bfa2f51336542d5b32e19d39 100644 (file)
@@ -197,7 +197,7 @@ static void check_cleanup_domid_map(struct domain *d,
 
     if ( !found )
     {
-        clear_bit(iommu->index, &dom_iommu(d)->arch.vtd.iommu_bitmap);
+        clear_bit(iommu->index, dom_iommu(d)->arch.vtd.iommu_bitmap);
         cleanup_domid_map(d, iommu);
     }
 }