From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io, michael.d.kinney@intel.com
Cc: Sean Brogan <sean.brogan@microsoft.com>,
"Yao, Jiewen" <jiewen.yao@intel.com>,
"Wang, Jian J" <jian.j.wang@intel.com>,
"Zhang, Chao B" <chao.b.zhang@intel.com>
Subject: Re: [edk2-devel] [Patch] SecurityPkg: Fix spelling errors
Date: Tue, 22 Oct 2019 18:20:36 +0200 [thread overview]
Message-ID: <9cb863e5-9ada-e180-38a3-eebf29f8f739@redhat.com> (raw)
In-Reply-To: <E92EE9817A31E24EB0585FDF735412F5B9DF03B6@ORSMSX113.amr.corp.intel.com>
On 10/22/19 6:08 PM, Michael D Kinney wrote:
> Response below.
>
> Mike
>
>> -----Original Message-----
>> From: Philippe Mathieu-Daudé <philmd@redhat.com>
>> Sent: Tuesday, October 22, 2019 5:41 AM
>> To: devel@edk2.groups.io; Kinney, Michael D
>> <michael.d.kinney@intel.com>
>> Cc: Sean Brogan <sean.brogan@microsoft.com>; Yao,
>> Jiewen <jiewen.yao@intel.com>; Wang, Jian J
>> <jian.j.wang@intel.com>; Zhang, Chao B
>> <chao.b.zhang@intel.com>
>> Subject: Re: [edk2-devel] [Patch] SecurityPkg: Fix
>> spelling errors
>>
>> Hi Michael,
>>
>> Few review comment below.
>>
>> On 10/18/19 9:01 PM, Michael D Kinney wrote:
>>> From: Sean Brogan <sean.brogan@microsoft.com>
>>>
>>> https://bugzilla.tianocore.org/show_bug.cgi?id=2265
>>>
>>> Cc: Jiewen Yao <jiewen.yao@intel.com>
>>> Cc: Jian J Wang <jian.j.wang@intel.com>
>>> Cc: Chao Zhang <chao.b.zhang@intel.com>
>>> Signed-off-by: Michael D Kinney
>> <michael.d.kinney@intel.com>
>>> ---
[...]
>>> --- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
>>> +++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
>>> @@ -1,7 +1,7 @@
>>> /** @file
>>> TCG MOR (Memory Overwrite Request) Control
>> Driver.
>>>
>>> - This driver initilize
>> MemoryOverwriteRequestControl variable. It
>>> + This driver initialize
>> MemoryOverwriteRequestControl variable. It
>>> will clear MOR_CLEAR_MEMORY_BIT bit if it is set.
>> It will also do TPer Reset for
>>> those encrypted drives through
>> EFI_STORAGE_SECURITY_COMMAND_PROTOCOL at EndOfDxe.
>>>
>>> @@ -298,7 +298,7 @@ TPerResetAtEndOfDxe (
>>> @param[in] ImageHandle Image handle of this
>> driver.
>>> @param[in] SystemTable A Pointer to the EFI
>> System Table.
>>>
>>> - @retval EFI_SUCEESS
>>> + @retval EFI_SUCCESS
>>> @return Others Some error occurs.
>>> **/
>>> EFI_STATUS
>>> @@ -341,7 +341,7 @@ MorDriverEntryPoint (
>>> //
>>> // Create a Ready To Boot Event and Clear the
>> MorControl bit in the call back function.
>>> //
>>> - DEBUG ((EFI_D_INFO, "TcgMor: Create ReadyToBoot
>> Event for MorControl Bit cleanning!\n"));
>>> + DEBUG ((DEBUG_INFO, "TcgMor: Create ReadyToBoot
>> Event for MorControl Bit cleaning!\n"));
>>
>> Hmm this is not a spelling change...
>
> The original fix from Sean is for cleanning -> cleaning.
> PatchCheck.py gets an error on this patch because EFI_D_ERROR
> should not be used, so I added the change to use DEBUG_INFO
> to pass PatchCheck.py.
I see. Since you need to respin to fix the "Volume" typo, do you mind
adding a preliminary patch doing the EFI_D_INFO -> DEBUG_INFO conversion
to satisfy PatchCheck.py, then the spelling changes?
[...]
>>> @@ -146,7 +146,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR
>> mNotifyList[] = {
>>> };
>>>
>>> /**
>>> - Record all measured Firmware Volum Information
>> into a Guid Hob
>>> + Record all measured Firmware Voluem Information
>> into a Guid Hob
>>
>> Typo "Volume"
>>
>>> Guid Hob payload layout is
>>>
>>> UINT32 ***************************
>> FIRMWARE_BLOB number
>>> @@ -501,7 +501,7 @@ MeasureMainBios (
>>> }
>>>
>>> /**
>>> - Measure and record the Firmware Volum Information
>> once FvInfoPPI install.
>>> + Measure and record the Firmware Voluem Information
>> once FvInfoPPI install.
>>
>> Ditto "Volume"
prev parent reply other threads:[~2019-10-22 16:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 19:01 [Patch] SecurityPkg: Fix spelling errors Michael D Kinney
2019-10-22 4:39 ` Wang, Jian J
2019-10-22 4:50 ` Yao, Jiewen
2019-10-22 12:41 ` [edk2-devel] " Philippe Mathieu-Daudé
2019-10-22 16:08 ` Michael D Kinney
2019-10-22 16:20 ` Philippe Mathieu-Daudé [this message]
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=9cb863e5-9ada-e180-38a3-eebf29f8f739@redhat.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