From nobody Thu May 2 21:23:18 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1531479949101737.1425402067414; Fri, 13 Jul 2018 04:05:49 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3C94E2098846B; Fri, 13 Jul 2018 04:05:48 -0700 (PDT) Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D0C362098844A for ; Fri, 13 Jul 2018 04:05:45 -0700 (PDT) Received: from E107992.Emea.Arm.com (e107992.emea.arm.com [10.1.211.7]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id w6DB5aaZ003730; Fri, 13 Jul 2018 12:05:36 +0100 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.96.140; helo=cam-smtp0.cambridge.arm.com; envelope-from=alexei.fedorov@arm.com; receiver=edk2-devel@lists.01.org From: AlexeiFedorov To: edk2-devel@lists.01.org Date: Fri, 13 Jul 2018 12:05:36 +0100 Message-Id: <20180713110536.30792-2-Alexei.Fedorov@arm.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20180713110536.30792-1-Alexei.Fedorov@arm.com> References: <20180713110536.30792-1-Alexei.Fedorov@arm.com> Subject: [edk2] [PATCH v2] ShellPkg/UefiShellAcpiViewCommandLib: Fix VS2017 compilation errors X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu.Ni@intel.com, Stephanie.Hughes-Fitt@arm.com, Jaben.Carsey@intel.com, nd@arm.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Please find v2 patch which corrects local variable name SigPtr to SignaturePtr. This patch fixes VS2017 compilation errors for UefiShellAcpiViewCommandLib\Parsers\Gtdt\GtdtParser.c and UefiShellAcpiViewCommandLib\Parsers\Xsdt\XsdtParser.c reported in https://bugzilla.tianocore.org/show_bug.cgi?id=3D985 https://bugzilla.tianocore.org/show_bug.cgi?id=3D986 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alexei Fedorov --- All the changes can be seen at https://github.com/AlexeiFedorov/edk2/tree/298_fix_acpiview_v2 Notes: v1: - GtdtParser.c DumpFTBlock() function: change UINT16 type of Length parameter to UINT32 change UINT16 type of GTBlockTimerLength variable to UINT32 - XsdtParser.c ParseAcpiXsdt() function: change name of local variable Ptr to SignaturePtr v2: - XsdtParser.c ParseAcpiXsdt() function: correct name of local variable SigPtr to SignaturePtr ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c | 2= +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/Xsdt= Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtPa= rser.c index 014b6259aa9cfe4093b6f19d4ff0be1e8096fd9b..a5e1412484b56258c40e0cb4d79= 5157ffbce6826 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Xsdt/XsdtParser.c @@ -105,7 +105,7 @@ ParseAcpiXsdt ( &Revision ); =20 - SigPtr =3D (UINT8*)Signature; + SignaturePtr =3D (UINT8*)Signature; =20 UnicodeSPrint ( Buffer, --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel