* [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()
@ 2017-06-30 12:43 Star Zeng
2017-06-30 13:00 ` Yao, Jiewen
0 siblings, 1 reply; 2+ messages in thread
From: Star Zeng @ 2017-06-30 12:43 UTC (permalink / raw)
To: edk2-devel; +Cc: Star Zeng, Jiewen Yao, Cloud Wang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=614
Print (L"CapsuleApp: capsule data starts at 0x%X with
size 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
It should use (UINTN) CapsuleBuffer[Index] and FileSize[Index]
as parameter.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Cloud Wang <winggundum82@163.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
index 63c83b1474a5..393cfe506075 100644
--- a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
+++ b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
@@ -497,7 +497,7 @@ BuildGatherList (
goto ERREXIT;
} else {
Print (L"CapsuleApp: creating capsule descriptors at 0x%X\n", (UINTN) BlockDescriptors1);
- Print (L"CapsuleApp: capsule data starts at 0x%X with size 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
+ Print (L"CapsuleApp: capsule data starts at 0x%X with size 0x%X\n", (UINTN) CapsuleBuffer[Index], FileSize[Index]);
}
//
--
2.7.0.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()
2017-06-30 12:43 [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList() Star Zeng
@ 2017-06-30 13:00 ` Yao, Jiewen
0 siblings, 0 replies; 2+ messages in thread
From: Yao, Jiewen @ 2017-06-30 13:00 UTC (permalink / raw)
To: Zeng, Star, edk2-devel@lists.01.org; +Cc: Cloud Wang, Zeng, Star
Reviewed-by: Jiewen.yao@intel.com
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Star
> Zeng
> Sent: Friday, June 30, 2017 8:43 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Cloud Wang
> <winggundum82@163.com>; Zeng, Star <star.zeng@intel.com>
> Subject: [edk2] [PATCH] MdeModulePkg CapsuleApp: Fix print info in
> BuildGatherList()
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=614
>
> Print (L"CapsuleApp: capsule data starts at 0x%X with
> size 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
>
> It should use (UINTN) CapsuleBuffer[Index] and FileSize[Index]
> as parameter.
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Cloud Wang <winggundum82@163.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> ---
> MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
> b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
> index 63c83b1474a5..393cfe506075 100644
> --- a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
> +++ b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
> @@ -497,7 +497,7 @@ BuildGatherList (
> goto ERREXIT;
> } else {
> Print (L"CapsuleApp: creating capsule descriptors at 0x%X\n", (UINTN)
> BlockDescriptors1);
> - Print (L"CapsuleApp: capsule data starts at 0x%X with size
> 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
> + Print (L"CapsuleApp: capsule data starts at 0x%X with size
> 0x%X\n", (UINTN) CapsuleBuffer[Index], FileSize[Index]);
> }
>
> //
> --
> 2.7.0.windows.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-30 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 12:43 [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList() Star Zeng
2017-06-30 13:00 ` Yao, Jiewen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox