From: Jan Beulich Date: Thu, 10 Mar 2022 08:43:50 +0000 (+0100) Subject: VT-d: drop undue address-of from check_cleanup_domid_map() X-Git-Tag: archive/raspbian/4.16.1-1+rpi1^2~38^2~59 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b2db518e952c3a8fe5b9ec6a2d007cda73fd05a4;p=xen.git VT-d: drop undue address-of from check_cleanup_domid_map() 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 Reviewed-by: Roger Pau Monné --- diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index 3b37bad25e..ead12db6a4 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -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); } }