From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=dandan.bi@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 A52D42035D0E0 for ; Mon, 6 Nov 2017 06:07:44 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 06 Nov 2017 06:11:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,352,1505804400"; d="scan'208";a="172567997" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 06 Nov 2017 06:11:42 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 6 Nov 2017 06:11:42 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Mon, 6 Nov 2017 22:11:40 +0800 From: "Bi, Dandan" To: "Zeng, Star" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [PATCH] MdeModulePkg VarCheckHiiLib: Fix typo "0x02%x" to be "0x%02x" Thread-Index: AQHTVv3fE+H2aIp1UUW9EDCBQcETBKMHZABA Date: Mon, 6 Nov 2017 14:11:39 +0000 Message-ID: <3C0D5C461C9E904E8F62152F6274C0BB3B9CFBCE@shsmsx102.ccr.corp.intel.com> References: <1509972635-83540-1-git-send-email-star.zeng@intel.com> In-Reply-To: <1509972635-83540-1-git-send-email-star.zeng@intel.com> Accept-Language: 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 VarCheckHiiLib: Fix typo "0x02%x" to be "0x%02x" 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: Mon, 06 Nov 2017 14:07:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Dandan Bi Thanks, Dandan -----Original Message----- From: Zeng, Star=20 Sent: Monday, November 6, 2017 8:51 PM To: edk2-devel@lists.01.org Cc: Zeng, Star ; Bi, Dandan ; Yao= , Jiewen Subject: [PATCH] MdeModulePkg VarCheckHiiLib: Fix typo "0x02%x" to be "0x%0= 2x" Cc: Dandan Bi Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c b/MdeModu= lePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c index f018c87ba199..2c3b9eb8e4c9 100644 --- a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c +++ b/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c @@ -147,8 +147,8 @@ DumpHiiPackage ( IfrEfiVarStore =3D (EFI_IFR_VARSTORE_EFI *) IfrOpCodeHeader; if (IfrEfiVarStore->Header.Length >=3D sizeof (EFI_IFR_VARSTOR= E_EFI)) { DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->OpCode - 0x%02x (%= a)\n", IfrOpCodeHeader->OpCode, IfrOpCodeToStr (IfrOpCodeHeader->OpCode))); - DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Length - 0x02%x\n"= , IfrOpCodeHeader->Length)); - DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Scope - 0x02%x\n"= , IfrOpCodeHeader->Scope)); + DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Length - 0x%02x\n"= , IfrOpCodeHeader->Length)); + DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Scope - 0x%02x\n"= , IfrOpCodeHeader->Scope)); DEBUG ((EFI_D_INFO, " Guid - %g\n", &IfrEfiVarSto= re->Guid)); DEBUG ((EFI_D_INFO, " VarStoreId - 0x%04x\n", IfrEfiVar= Store->VarStoreId)); DEBUG ((EFI_D_INFO, " Size - 0x%04x\n", IfrEfiVar= Store->Size)); @@ -162,8 +162,8 @@ DumpHiiPackage ( case EFI_IFR_NUMERIC_OP: case EFI_IFR_ORDERED_LIST_OP: DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->OpCode - 0x%02x (%a)= \n", IfrOpCodeHeader->OpCode, IfrOpCodeToStr (IfrOpCodeHeader->OpCode))); - DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Length - 0x02%x\n", = IfrOpCodeHeader->Length)); - DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Scope - 0x02%x\n", = IfrOpCodeHeader->Scope)); + DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Length - 0x%02x\n", = IfrOpCodeHeader->Length)); + DEBUG ((EFI_D_INFO, " IfrOpCodeHeader->Scope - 0x%02x\n", = IfrOpCodeHeader->Scope)); DEBUG ((EFI_D_INFO, " Prompt - 0x%04x\n", ((EFI_IFR= _ONE_OF *) IfrOpCodeHeader)->Question.Header.Prompt)); DEBUG ((EFI_D_INFO, " Help - 0x%04x\n", ((EFI_IFR= _ONE_OF *) IfrOpCodeHeader)->Question.Header.Help)); DEBUG ((EFI_D_INFO, " QuestionId - 0x%04x\n", ((EFI_IFR= _ONE_OF *) IfrOpCodeHeader)->Question.QuestionId)); --=20 2.7.0.windows.1