From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 EFB9A2034B430 for ; Wed, 27 Dec 2017 22:39:56 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Dec 2017 22:44:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,469,1508828400"; d="scan'208";a="5524993" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 27 Dec 2017 22:44:51 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 27 Dec 2017 22:44:51 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 27 Dec 2017 22:44:50 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by shsmsx102.ccr.corp.intel.com ([169.254.2.189]) with mapi id 14.03.0319.002; Thu, 28 Dec 2017 14:44:48 +0800 From: "Zeng, Star" To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [Patch] MdeModulePkg PeiCore: Update debug message to print the correct FV length Thread-Index: AQHTf6YtXvUxfcdC90+xHga8CioaW6NYTf6Q Date: Thu, 28 Dec 2017 06:44:48 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B9DE6A6@SHSMSX104.ccr.corp.intel.com> References: <1514442975-9148-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1514442975-9148-1-git-send-email-liming.gao@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] MdeModulePkg PeiCore: Update debug message to print the correct FV length X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 06:39:57 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The code without this patch will have incorrect value shown for handle, ple= ase update the commit title. With title updated, Reviewed-by: Star Zeng Thanks, Star -----Original Message----- From: Gao, Liming=20 Sent: Thursday, December 28, 2017 2:36 PM To: edk2-devel@lists.01.org Cc: Zeng, Star Subject: [Patch] MdeModulePkg PeiCore: Update debug message to print the co= rrect FV length Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Cc: Star Zeng --- 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/Fw= Vol/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= ",=20 (UINT32) PrivateData->FvCount,=20 (VOID *) BfvHeader,=20 - BfvHeader->FvLength, + (UINT32) BfvHeader->FvLength, FvHandle )); =20 PrivateData->FvCount ++; --=20 2.8.0.windows.1