From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id ADFB4740038 for ; Mon, 15 Apr 2024 22:23:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zzDt6ZE6OSPrh2635MPKuj9JBE9iE9Fd7ZE/KnuaFXk=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1713219815; v=1; b=pfCgHHDnR0g0n82qnXu/hfWJAfwy2aBEFy6hHCs4Tf4rNuYG+PP2yLLA3BMM6ugVG6vlFHXw nAGFSoKkCIA5mxQt+3iw6YfctgyBQRpQbkYXgH6zPWNfLQmtrdvT+qQi6l3B+GThhsZ1wFXx0Kj rBozyPQYl5wIhGSAcZWaDCls46FA/XQI5iPjKBMx42S+H3cRZ4hpJEYcNbzPN+UtYJ9hVso6UIW WCI1qV0r8FhCtPOYxVsnl7WHM8Toqeu4dCO9Z99s+m7vqdQ3aRjbWbD290s+AIQ6Njfe9A69oLn DB2VSRdqQuObshH7rYHjQ/sM3pmag1lSIIqtmSuPyYl3g== X-Received: by 127.0.0.2 with SMTP id 2HXKYY7687511xRxUIUdKMBG; Mon, 15 Apr 2024 15:23:35 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.5963.1713219813271030733 for ; Mon, 15 Apr 2024 15:23:33 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 83390152B; Mon, 15 Apr 2024 15:24:01 -0700 (PDT) X-Received: from beelzebub.ast.arm.com (u203013-lin.austin.arm.com [10.118.29.240]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9FB173F738; Mon, 15 Apr 2024 15:23:32 -0700 (PDT) From: "Stuart Yoder" To: devel@edk2.groups.io, Edhaya.Chandran@arm.com, gaojie@byosoft.com.cn Cc: Alex_Fox@phoenix.com, heinrich.schuchardt@canonical.com, David_Wright@phoenix.com, lichao@loongson.cn Subject: [edk2-devel] [PATCH v1 3/3] uefi-sct/SctPkg: TCG2 Protocol: #pragma pack cleanup Date: Mon, 15 Apr 2024 17:23:22 -0500 Message-Id: <20240415222322.3167566-4-stuart.yoder@arm.com> In-Reply-To: <20240415222322.3167566-1-stuart.yoder@arm.com> References: <20240415222322.3167566-1-stuart.yoder@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 15 Apr 2024 15:23:33 -0700 Resent-From: stuart.yoder@arm.com Reply-To: devel@edk2.groups.io,stuart.yoder@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: D5vgw5GQ6zr8OYtSebnLWl2Qx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=pfCgHHDn; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.9 as permitted sender) smtp.mailfrom=bounce@groups.io Fix compiler warning by adding #pragma pack() to close a pragma section. Also delete extraneous #pragma pack(1). Signed-off-by: Stuart Yoder --- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTest.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest= /TCG2ProtocolBBTest.h b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/B= lackBoxTest/TCG2ProtocolBBTest.h index deba13f21804..95307b7fa50f 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Pr= otocolBBTest.h +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Pr= otocolBBTest.h @@ -79,7 +79,6 @@ typedef struct { UINT8 buffer[TEST_STRING_LEN]; } TPM2B_MAX_BUFFER; =20 -#pragma pack(1) // TPM2B_DIGEST as defined in Table 73 of TPM Library Spec Part 2: Struc= tures typedef struct { UINT16 size; @@ -110,7 +109,7 @@ typedef struct { TPM2B_DIGEST data; TPMT_TK_HASHCHECK validation; } TPM2_HASH_RESPONSE; -#pragma +#pragma pack() =20 EFI_STATUS EFIAPI --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117810): https://edk2.groups.io/g/devel/message/117810 Mute This Topic: https://groups.io/mt/105546457/7686176 Mute #pragma:https://edk2.groups.io/g/devel/mutehashtag/pragma Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-