public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v2 0/4] TCG2 protocol clean up
@ 2024-04-16 14:53 Stuart Yoder
  2024-04-16 14:53 ` [edk2-devel] [PATCH v2 1/4] uefi-sct/SctPkg: TCG2 Protocol: correct definition of TPMT_HA struct Stuart Yoder
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Stuart Yoder @ 2024-04-16 14:53 UTC (permalink / raw)
  To: devel, Edhaya.Chandran, gaojie
  Cc: Alex_Fox, heinrich.schuchardt, David_Wright, lichao

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/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-05-13 15:21 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-16 14:53 [edk2-devel] [PATCH v2 0/4] TCG2 protocol clean up Stuart Yoder
2024-04-16 14:53 ` [edk2-devel] [PATCH v2 1/4] uefi-sct/SctPkg: TCG2 Protocol: correct definition of TPMT_HA struct Stuart Yoder
2024-04-24 11:16   ` G Edhaya Chandran
2024-04-24 11:32     ` G Edhaya Chandran
2024-04-24 11:36       ` G Edhaya Chandran
2024-04-24 13:58         ` Stuart Yoder
2024-04-25  5:40           ` G Edhaya Chandran
2024-04-16 14:53 ` [edk2-devel] [PATCH v2 2/4] uefi-sct/SctPkg: TCG2 Protocol: use OFFSET_OF for computing offsets Stuart Yoder
2024-04-24 11:17   ` G Edhaya Chandran
2024-04-16 14:54 ` [edk2-devel] [PATCH v2 3/4] uefi-sct/SctPkg: TCG2 Protocol: #pragma pack cleanup Stuart Yoder
2024-04-24 11:17   ` G Edhaya Chandran
2024-04-16 14:54 ` [edk2-devel] [PATCH v2 4/4] uefi-sct/SctPkg: TCG2 Protocol: clean up type conversion warnings Stuart Yoder
2024-04-24 11:17   ` G Edhaya Chandran
2024-04-22 19:15 ` [edk2-devel] [PATCH v2 0/4] TCG2 protocol clean up Heinrich Schuchardt
2024-04-23  9:52   ` G Edhaya Chandran
2024-05-03 23:47     ` [edk2-devel] edk2-test Release candidate 2: edk2-test-rc2_202405 // " G Edhaya Chandran
2024-05-05 22:21       ` [edk2-devel] edk2-test Release candidate 2: edk2-test-rc2_202405 Heinrich Schuchardt
2024-05-06 17:26         ` G Edhaya Chandran
2024-05-09 20:23       ` [edk2-devel] edk2-test Release candidate 2: edk2-test-rc2_202405 // RE: [PATCH v2 0/4] TCG2 protocol clean up David Wright
2024-05-10  2:43         ` G Edhaya Chandran
2024-05-10  2:55           ` Chao Li
2024-05-10 14:56             ` G Edhaya Chandran
2024-05-11  2:47               ` Chao Li
     [not found]               ` <17CE4F3DF61B149E.21609@groups.io>
2024-05-13  6:21                 ` Chao Li
2024-05-13 15:21                   ` G Edhaya Chandran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox