The code without this patch will have incorrect value shown for handle, please 
update the commit title.

With title updated,
Reviewed-by: Star Zeng <star.z...@intel.com>


Thanks,
Star
-----Original Message-----
From: Gao, Liming 
Sent: Thursday, December 28, 2017 2:36 PM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.z...@intel.com>
Subject: [Patch] MdeModulePkg PeiCore: Update debug message to print the 
correct FV length

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming....@intel.com>
Cc: Star Zeng <star.z...@intel.com>
---
 MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c 
b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
index 7cb295c..8009546 100644
--- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
@@ -514,7 +514,7 @@ PeiInitializeFv (
     "The %dth FV start address is 0x%11p, size is 0x%08x, handle is 0x%p\n", 
     (UINT32) PrivateData->FvCount, 
     (VOID *) BfvHeader, 
-    BfvHeader->FvLength,
+    (UINT32) BfvHeader->FvLength,
     FvHandle
     ));    
   PrivateData->FvCount ++;
-- 
2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to