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 AAA03941C5A for ; Tue, 16 Apr 2024 14:54:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=uhhHNLKVS8yRnsbKmlJKjR6/gP1pzCXl8+ueYGBaX2w=; 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=1713279275; v=1; b=NPJOeSVK3JxsENU8n9mLjn6mTkSppxztXTxdCH/ObgiPyJRyUpKn3lEAsNKvYSZv6EZ2UK1+ cm32I/wTI/VbNX1SUWCrp1Jcoxhl3vRa19D0aTOu9AubCpa6W7PEyk2Ex1xkP7Ew6i6lJVULAVj MjH8nZQAh9Wv5VGRu70vbFJvmG0G7nmJyGhW7g4CSX0oM8D270B5sL0Wr8x0xAbKmDHtOC0hyNi mzhOxnqxhoIt+A2Z87TpTseww/w4L0Yh7KcWbWUT9WCuXX8s1nmSSlOJsfPNT1p3GQnZeTuGKNM HURFomBXloU8WCHyUEYrS+L1HARKRpB+PNVIm5x5iVGGA== X-Received: by 127.0.0.2 with SMTP id 3vJpYY7687511xH0aNpP6Jrs; Tue, 16 Apr 2024 07:54:35 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.23020.1713279273497933878 for ; Tue, 16 Apr 2024 07:54: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 554F9139F; Tue, 16 Apr 2024 07:55: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 E5E2F3F792; Tue, 16 Apr 2024 07:54: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 v2 3/4] uefi-sct/SctPkg: TCG2 Protocol: #pragma pack cleanup Date: Tue, 16 Apr 2024 09:54:00 -0500 Message-Id: <20240416145401.3213797-4-stuart.yoder@arm.com> In-Reply-To: <20240416145401.3213797-1-stuart.yoder@arm.com> References: <20240416145401.3213797-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: Tue, 16 Apr 2024 07:54: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: LVhmF6ZLbnRmuFeWqjQnOgHWx7686176AA= 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=NPJOeSVK; 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 Reviewed-by: Heinrich Schuchardt --- 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 (#117885): https://edk2.groups.io/g/devel/message/117885 Mute This Topic: https://groups.io/mt/105558008/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] -=-=-=-=-=-=-=-=-=-=-=-