[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen stable-4.16] VT-d: drop undue address-of from check_cleanup_domid_map()



commit b2db518e952c3a8fe5b9ec6a2d007cda73fd05a4
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Mar 10 09:43:50 2022 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Mar 10 09:43:50 2022 +0100

    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 <jbeulich@xxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 xen/drivers/passthrough/vtd/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
     }
 }
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.16



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.