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 D5058AC1202 for ; Tue, 16 Apr 2024 14:54:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ay2kZ9r+laBib/bvGWEbFcBtNebbdKTKBKQr8AuQtOY=; 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=1713279273; v=1; b=WimfrOL2yA03/NCdc9Wq24N+DkpXU5AKDizkmunnKiVImLtvvvgQXaQI3iRHc65IvovYxf8l ZRAPT4kB1OXxwG8ykCuei+vm2h7E0qBtU5AZIcXq8gsJRRLUVxgRkFpR482xCIoC3Gu24STyZkO 9SB+x7ZmGCL27DJIslNSyvzlQ3shihow38HbPkSXNbj29US7uiw2W8m18sSmr+LciZe+ZW4Jtmz NvtmG2TwnwLGm7NDgcfwZE7/dd0q5FC06ftM2tVJuA7gOuhvPFYAI0BwY5gdsgy2XfMQNYWBDCO UXPcKEqwu5cpbh0pG+jJaD2hoO+7pGZHwe1HpJmYBiGCQ== X-Received: by 127.0.0.2 with SMTP id hmCVYY7687511xOwTGopOW9G; Tue, 16 Apr 2024 07:54:33 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.22742.1713279272678111190 for ; Tue, 16 Apr 2024 07:54: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 6905C339; Tue, 16 Apr 2024 07:55: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 044F13F792; Tue, 16 Apr 2024 07:54: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 v2 0/4] TCG2 protocol clean up Date: Tue, 16 Apr 2024 09:53:57 -0500 Message-Id: <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: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: 46zkKAcsaBaLGIINUcJ6tuAnx7686176AA= 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=WimfrOL2; 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 -resolve type conversion warnings Patches are in github here: https://github.com/stuyod01/edk2-test/tree/tcg2-cleanup Version 2 -add SM3 hash type to TPM2.h -resolve type conversion warnings Stuart Yoder (4): 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: TCG2 Protocol: clean up type conversion warnings uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTest.h | 3 +-- uefi-sct/SctPkg/UEFI/Protocol/TCG2.h = | 17 +++++++++++-- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTestConformance.c | 25 +++++++++----------- 3 files changed, 27 insertions(+), 18 deletions(-) --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117882): https://edk2.groups.io/g/devel/message/117882 Mute This Topic: https://groups.io/mt/105558005/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-