[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, 14 Jun 2021 09:50:05 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Mon, 14 Jun 2021 08:59:04 +0000
  • Ironport-hdrordr: A9a23:Dg37w66kEVBDq+JgYgPXwMTXdLJyesId70hD6qhwISY6TiX+rb HLoB17726TtN9/YhEdcLy7VJVoIkmskKKdg7NhXotKNTOO0ADDQb2KhbGSpAEIcBeeygcy78 hdmtBFeb/NMWQ=
  • Ironport-sdr: ovPe8PfZOPPNhh42N/w7qIi/Xyvp6GAG/q+ImXu92DouTugahgvLQuV3KVUeP9CPoUJmEuLmHK FNdBOdvV6j1LZ4cbsE3sA2xlNlPIHsTKyEzylWEUvygl+s6VCamOXaMot+d0MaAzRUwPdykmHa BSFo0LVXxsY/sBChWQt686DdGFKVE2Jb9x4d7RmxRhAh7KQfGZzxVFCV23ibwg6MUO06di4yuJ NaGOhvIIfwZsqZ7T0HsUE+vAq63+Ey1MDwvgQYKNo70f72tGp8D7AnVH1llknTb692hYQAvNEj 0HA=
  • 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®.