This patch series cleans up some issues found when building edk2-test with a non-GCC compiler: -TPMT_HA struct had an error due to incorrect use of C flexible array member -compute struct member offsets using OFFSET_OF, which is not GCC specific -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/TCG2ProtocolBBTest.h | 3 +-- uefi-sct/SctPkg/UEFI/Protocol/TCG2.h | 17 +++++++++++-- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2ProtocolBBTestConformance.c | 25 +++++++++----------- 3 files changed, 27 insertions(+), 18 deletions(-) -- 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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-