From: "Oliver Smith-Denny" <osde@linux.microsoft.com>
To: Michael D Kinney <michael.d.kinney@intel.com>, devel@edk2.groups.io
Cc: Liming Gao <gaoliming@byosoft.com.cn>,
Zhiguang Liu <zhiguang.liu@intel.com>,
Pedro Falcato <pedro.falcato@gmail.com>,
Aaron Pop <aaronpop@microsoft.com>
Subject: Re: [Patch v2 0/3] Address C++ keyword collisions
Date: Wed, 31 May 2023 10:46:20 -0700 [thread overview]
Message-ID: <1a9fac1d-6d31-a836-77dd-114ec520321d@linux.microsoft.com> (raw)
In-Reply-To: <20230530185322.70-1-michael.d.kinney@intel.com>
For the patchset:
Reviewed-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Thanks!
On 5/30/2023 11:53 AM, Michael D Kinney wrote:
> New in v2
> ==========
> Changes from 2 patches to 3 patches to support bisect. This
> temporarily uses an anonymous union to allow use of both field
> name styles. It also allows downstream usage of these fields
> to sync with the first 2 patches, update their field names,
> and then sync with last patch.
>
> PR: https://github.com/tianocore/edk2/pull/4436
>
> ===========
>
> Update Tpm12.h and Tpm20.h and not use c++ reserved keywords
> operator and xor in C structures to support use of these
> include files when building with a C++ compiler.
>
> Update SecurityPkg Tpm2CommandLib to use updated field names.
>
> * Change operator -> Operator
> * Change xor -> Xor
>
> NOTE: This is a non-backwards compatible change to Tpm12.h
> and Tmp20.h. And consumers of these include files that access
> the "operator" or "xor" fields must be updated.
>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Oliver Smith-Denny <osde@linux.microsoft.com>
> Cc: Pedro Falcato <pedro.falcato@gmail.com>
> Cc: Aaron Pop <aaronpop@microsoft.com>
> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
>
> Michael D Kinney (3):
> MdePkg/Include/IndustryStandard: Add Operator and Xor field names
> SecurityPkg/Library/TpmCommandLib: Change xor to Xor
> MdePkg/Include/IndustryStandard: Address C++ keyword collisions
>
> MdePkg/Include/IndustryStandard/Tpm12.h | 4 ++--
> MdePkg/Include/IndustryStandard/Tpm20.h | 4 ++--
> SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c | 6 +++---
> SecurityPkg/Library/Tpm2CommandLib/Tpm2Object.c | 6 +++---
> SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c | 2 +-
> 5 files changed, 11 insertions(+), 11 deletions(-)
>
next prev parent reply other threads:[~2023-05-31 17:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-30 18:53 [Patch v2 0/3] Address C++ keyword collisions Michael D Kinney
2023-05-30 18:53 ` [Patch v2 1/3] MdePkg/Include/IndustryStandard: Add Operator and Xor field names Michael D Kinney
2023-05-31 18:17 ` Pedro Falcato
2023-05-31 18:41 ` Michael D Kinney
2023-06-01 15:01 ` Michael D Kinney
2023-06-06 17:56 ` Michael D Kinney
2023-06-06 21:01 ` [edk2-devel] " Pedro Falcato
2024-02-27 23:46 ` Michael D Kinney
2024-02-27 23:55 ` Pedro Falcato
2024-02-28 0:33 ` Michael D Kinney
2023-05-30 18:53 ` [Patch v2 2/3] SecurityPkg/Library/TpmCommandLib: Change xor to Xor Michael D Kinney
2023-05-31 2:38 ` [edk2-devel] [PATCH] ShellPkg\SmbiosView: SmBiosView does not print correct Slot ID information asperber
2023-05-30 18:53 ` [Patch v2 3/3] MdePkg/Include/IndustryStandard: Address C++ keyword collisions Michael D Kinney
2023-05-31 0:05 ` [edk2-devel] [Patch v2 0/3] " Yao, Jiewen
2023-05-31 17:46 ` Oliver Smith-Denny [this message]
2023-06-01 7:30 ` 回复: " gaoliming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1a9fac1d-6d31-a836-77dd-114ec520321d@linux.microsoft.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox