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

[PATCH 1/2] Match __FreePage with __AllocatePage calls


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Mon, 21 Jun 2021 13:27:03 +0100
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Mon, 21 Jun 2021 13:32:54 +0000
  • Ironport-hdrordr: A9a23:Iy+wCK5A/vUQazh21APXwDLXdLJyesId70hD6qkQc3FomwKj9/ xG/c5rsSMc7Qx6ZJhOo7+90cW7L080lqQFhLX5X43SPzUO0VHARO1fBOPZqAEIcBeOlNK1u5 0AT0B/YueAcGSTj6zBkXWF+wBL+qj5zEiq792usUuEVWtRGsZdB58SMHfhLqVxLjM2Y6YRJd 6nyedsgSGvQngTZtTTPAh+YwCSz+e77a4PeHQ9dmYa1DU=
  • Ironport-sdr: V/f1bqCjZ+Un481RIGaE3VT+A9rBUhzdML3xOBZdei1AVgB2cq98QlLzHrAKWXBcN3D8YM2jRw 7vhr74xhNQwpyT+zo9JX8hGWjIb7Ipk6FiwKRSHOYm7UzdHWoiQBE5JD3DIFD2z6OMWr9RoudT YxPIRJe0YqRCHygz73+9SPxNGz3CXL1KXMYAS3HB13DHm01GAOnmX+gnhHbX3iBxAzBHmt+MQw Txzj5kXSe6m4aX2oxS8TJfDBxA4ip2bDKmAoOBNqPZwLYhLLZLshdnPfvAolS64Ji/4rN/l7rj hN8=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Replace __FreePages with __FreePage when the memory was allocated with
__AllocatePage. This is a cosmetic change, as __FreePage is an alias for
__FreePages

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/xenvbd/adapter.c | 2 +-
 src/xenvbd/ring.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xenvbd/adapter.c b/src/xenvbd/adapter.c
index 67dd14c..9fd2abc 100644
--- a/src/xenvbd/adapter.c
+++ b/src/xenvbd/adapter.c
@@ -1166,7 +1166,7 @@ AdapterBounceDtor(
 
     Bounce->BouncePtr = NULL;
 
-    __FreePages(Bounce->BounceMdl);
+    __FreePage(Bounce->BounceMdl);
     Bounce->BounceMdl = NULL;
 }
 
diff --git a/src/xenvbd/ring.c b/src/xenvbd/ring.c
index bfe62a8..66e8cdd 100644
--- a/src/xenvbd/ring.c
+++ b/src/xenvbd/ring.c
@@ -494,7 +494,7 @@ BlkifRingIndirectDtor(
 
     UNREFERENCED_PARAMETER(Argument);
 
-    __FreePages(Indirect->Mdl);
+    __FreePage(Indirect->Mdl);
     Indirect->Page = NULL;
     Indirect->Mdl = NULL;
 }
-- 
2.31.1.windows.1




 


Rackspace

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