[prev in list] [next in list] [prev in thread] [next in thread] 

List:       win-pv-devel
Subject:    [PATCH 1/2] Match __FreePage with __AllocatePage calls
From:       Owen Smith <owen.smith () citrix ! com>
Date:       2021-06-21 12:54:44
Message-ID: 20210621125445.1800-1-owen.smith () citrix ! com
[Download RAW message or body]

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@citrix.com>
---
 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic