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 B40EDAC0903 for ; Mon, 15 Apr 2024 22:23:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=mBrd9qefWHSOtEqlF9YdEX8P6X3wqRF9YeRGEwsdDY8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id: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=1713219813; v=1; b=Coirn4doXL7F6YjC1CZt2Pp0I1Dp5VIZnv72i9xQJM2DH8JrngqUxgYW4nbq3VpUZE4p/Rbh fCU6fL2CvNIE7W3JVXbgAe3kozk2+nqEZ8g9TQ0fo+A8ozaVVPH392B0unrT9nqqcAG8BnDT4AP b6xkOWff7GV0BMwnCNjwrm7yShXTBHO0AMmPIbtrn/DtMU73KggeZplEMYfJtkKhfl4PsWzKdgw bdgWkFWMHMFcFaxIKxbFyKnPxd4tK970LypIjNMLm8Uyj5CDc20uQJB/9aXd1fnDsXCj7QAfDVz zGVlsre/d5PxWCXZhz1b9Lm2XT73dPq/b81bQ45kIvcUA== X-Received: by 127.0.0.2 with SMTP id ydNkYY7687511xwh2cxXkPHe; Mon, 15 Apr 2024 15:23:33 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.5961.1713219812491475087 for ; Mon, 15 Apr 2024 15:23:32 -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 96F0B2F4; Mon, 15 Apr 2024 15:24:00 -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 B23553F738; Mon, 15 Apr 2024 15:23:31 -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 0/3] TCG2 protocol clean up Date: Mon, 15 Apr 2024 17:23:19 -0500 Message-Id: <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:32 -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: JrathEqAnUQXmwaLZK9p87jXx7686176AA= 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=Coirn4do; 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 This patch series cleans up some issues found when building edk2-test wit= h a non-GCC compiler: -TPMT_HA struct had an error due to incorrect use of C flexible array m= ember -compute struct member offsets using OFFSET_OF, which is not GCC specif= ic -clean up of #pragma pack in one file Patches are in github here: https://github.com/stuyod01/edk2-test/tree/tcg2-cleanup Stuart Yoder (3): uefi-sct/SctPkg: TCG2 Protocol: correct definition of TPMT_HA struct uefi-sct/SctPkg: TCG2 Protocol: use OFFSET_OF for computing offsets uefi-sct/SctPkg: TCG2 Protocol: #pragma pack cleanup uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTest.h | 3 +-- uefi-sct/SctPkg/UEFI/Protocol/TCG2.h = | 13 ++++++++++++- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTestConformance.c | 7 +++---- 3 files changed, 16 insertions(+), 7 deletions(-) --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117807): https://edk2.groups.io/g/devel/message/117807 Mute This Topic: https://groups.io/mt/105546454/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-