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

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


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 8 Mar 2022 16:27:00 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bi41F84unF7k8jt/I9MJYkNADDQudK8erSyx/4BpEpI=; b=eyaeXPppK0oph3OgreKbwOOQp2DV5hIum29LY06FYoUGzNxDrAC23U9tOTh0PxzI+WNRyZg9I9r4uWf2IED/u9vjoMvP8TDpqTFv9azaKJGJ7Si1AqMLiwCTugXGfWnPZZUYOyC/ZEYtVWSSpd3uDQpAgx7X+rpyXGf5hkowKQ9QusmTiYafV2J25qtI5WUu/rJfsQA2tO3Oee7JtFSgWcAb2UQDG9BpbIF0eEpLqg924J4ULg1S0J+QdnhZW75NSM48bAC3A1mpv8HYygyLoYSHifCjQLlaqKxL+p2dYN9a8QWjYO+gjVfFSD0hFrcECgjQ0WncB0BnFoOGWOdZAw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VsgK1CJulYFy30pduwbL/qFCWgLYSse7cegho/cj6rDfVf/qKFS6LJWrd4rJRNyAbrIC08VVu/iYeVJgRUpXgAIxku/L7Vhb50LHQCKWwCnhTp0GWutvLti1DTEVWI646GVmhdfxIAdAa/p1GuhCKFRDCVHQQ2y5cAQSUvQpFqhv+Eqc4S3k7ijxe3mGHeg586Zstf+sUbcwUXLFj9S3EMq+7uITtaJJExB2ZPKwPtKl8wKA0a0P/g3cUIg9moovQZeWNpyC39H2eNBVzYEuuM2QdDmhvyKXRuFu6fOzm5kpC0sGJoB9WXhpUP6QmzL6WYhlfwnpUJUcahJrbpnSVg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Kevin Tian <kevin.tian@xxxxxxxxx>, Paul Durrant <paul@xxxxxxx>
  • Delivery-date: Tue, 08 Mar 2022 15:27:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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>

--- a/xen/drivers/passthrough/vtd/iommu.c
+++ b/xen/drivers/passthrough/vtd/iommu.c
@@ -197,7 +197,7 @@ static void check_cleanup_domid_map(stru
 
     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);
     }
 }




 


Rackspace

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