From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9957F21BADAB2 for ; Fri, 30 Jun 2017 05:59:18 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2017 06:00:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,286,1496127600"; d="scan'208";a="987209929" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 30 Jun 2017 06:00:51 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 30 Jun 2017 06:00:51 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 30 Jun 2017 06:00:51 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.197]) with mapi id 14.03.0319.002; Fri, 30 Jun 2017 21:00:49 +0800 From: "Yao, Jiewen" To: "Zeng, Star" , "edk2-devel@lists.01.org" CC: Cloud Wang , "Zeng, Star" Thread-Topic: [edk2] [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList() Thread-Index: AQHS8Z6NAShZGSq++ESE9jBgGjMjjaI9Xn1w Date: Fri, 30 Jun 2017 13:00:49 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A971989@shsmsx102.ccr.corp.intel.com> References: <1498826608-30064-1-git-send-email-star.zeng@intel.com> In-Reply-To: <1498826608-30064-1-git-send-email-star.zeng@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 12:59:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of St= ar > Zeng > Sent: Friday, June 30, 2017 8:43 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Cloud Wang > ; Zeng, Star > Subject: [edk2] [PATCH] MdeModulePkg CapsuleApp: Fix print info in > BuildGatherList() >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D614 >=20 > Print (L"CapsuleApp: capsule data starts at 0x%X with > size 0x%X\n", (UINTN) CapsuleBuffer, FileSize); >=20 > It should use (UINTN) CapsuleBuffer[Index] and FileSize[Index] > as parameter. >=20 > Cc: Jiewen Yao > Cc: Cloud Wang > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Star Zeng > --- > MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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", (UIN= TN) > BlockDescriptors1); > - Print (L"CapsuleApp: capsule data starts at 0x%X with siz= e > 0x%X\n", (UINTN) CapsuleBuffer, FileSize); > + Print (L"CapsuleApp: capsule data starts at 0x%X with siz= e > 0x%X\n", (UINTN) CapsuleBuffer[Index], FileSize[Index]); > } >=20 > // > -- > 2.7.0.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel