public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael Kubacki" <mikuback@linux.microsoft.com>
To: devel@edk2.groups.io, ankit.sinha@intel.com
Cc: "Desimone, Nathaniel L" <nathaniel.l.desimone@intel.com>
Subject: Re: [edk2-devel] [PATCH v3 01/14] PrmPkg: Fix new typos reported
Date: Tue, 20 Dec 2022 17:19:42 -0500	[thread overview]
Message-ID: <d8d5688f-ee51-67ab-2aea-d4a8ab11c8f9@linux.microsoft.com> (raw)
In-Reply-To: <MW5PR11MB5908DCFA8BBE2DF502335788E5EA9@MW5PR11MB5908.namprd11.prod.outlook.com>

Thanks Ankit

On 12/19/2022 10:09 PM, Ankit Sinha wrote:
> Hi Michael,
> 
> There is a typo that got missed in one of the modified comments. In file "b/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h":
> 
> -  Each PRM Module discovered is placed into a linked list so the list can br processsed in the future.
> +  Each PRM Module discovered is placed into a linked list so the list can br processed in the future.
> 
> 'br' should change to 'be'
> 
> Thank you,
> Ankit
> 
>> -----Original Message-----
>> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael
>> Kubacki
>> Sent: Wednesday, December 14, 2022 2:53 PM
>> To: devel@edk2.groups.io
>> Cc: Michael Kubacki <mikuback@linux.microsoft.com>; Desimone, Nathaniel
>> L <nathaniel.l.desimone@intel.com>; Sinha, Ankit <ankit.sinha@intel.com>
>> Subject: [edk2-devel] [PATCH v3 01/14] PrmPkg: Fix new typos reported
>>
>> From: Michael Kubacki <michael.kubacki@microsoft.com>
>>
>> The SpellCheck plugin began reporting new typos that were previously
>> missed. This change fixes those typos.
>>
>> Cc: Michael Kubacki <mikuback@linux.microsoft.com>
>> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
>> Cc: Ankit Sinha <ankit.sinha@intel.com>
>> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
>> ---
>>   PrmPkg/Application/PrmInfo/PrmInfo.c
>> | 2 +-
>>   PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c
>> | 2 +-
>>   PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
>> | 2 +-
>>
>> UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTestU
>> efiBootServicesTableLibImage.c    | 2 +-
>>
>> UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTestU
>> efiBootServicesTableLibProtocol.c | 2 +-
>>   PrmPkg/Include/Library/PrmModuleDiscoveryLib.h
>> | 2 +-
>>   PrmPkg/PrmLoaderDxe/PrmAcpiTable.h
>> | 4 ++--
>>   PrmPkg/PrmPkg.ci.yaml                                                                                    | 9
>> +++++++++
>>
>> UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTestU
>> efiBootServicesTableLib.h         | 4 ++--
>>   9 files changed, 19 insertions(+), 10 deletions(-)
>>
>> diff --git a/PrmPkg/Application/PrmInfo/PrmInfo.c
>> b/PrmPkg/Application/PrmInfo/PrmInfo.c
>> index 0cde2fad3b4b..178d4810f498 100644
>> --- a/PrmPkg/Application/PrmInfo/PrmInfo.c
>> +++ b/PrmPkg/Application/PrmInfo/PrmInfo.c
>> @@ -148,7 +148,7 @@ PrintMmioRuntimeRangeInfo (
>>     Gathers the PRM handler (and by extension module) information
>> discovered on this system.
>>
>>     This function must be called to build up the discovered context for other
>> functions in the application. The
>> -  function will optionally print results as determed by the value of the
>> PrintInformation parameter.
>> +  function will optionally print results as determined by the value of the
>> PrintInformation parameter.
>>
>>     @param[in] PrintInformation           Indicates whether to print information
>> as discovered in the function.
>>
>> diff --git
>> a/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.
>> c
>> b/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.
>> c
>> index e6bea47bc583..34373effd4cd 100644
>> ---
>> a/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.
>> c
>> +++
>> b/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.
>> c
>> @@ -149,7 +149,7 @@ IsAddressInMmram (
>>   /**
>>     Discovers all PRM Modules loaded during boot.
>>
>> -  Each PRM Module discovered is placed into a linked list so the list can br
>> processsed in the future.
>> +  Each PRM Module discovered is placed into a linked list so the list can br
>> processed in the future.
>>
>>     @param[out]   ModuleCount               An optional pointer parameter that, if
>> provided, is set to the number
>>                                             of PRM modules discovered.
>> diff --git a/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
>> b/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
>> index 5a223d783d80..7b0042f133ef 100644
>> --- a/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
>> +++ b/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
>> @@ -295,7 +295,7 @@ PublishPrmAcpiTable (
>>     time of this function invocation.
>>
>>     The main responsibilities of the PRM Loader are executed from this
>> function which include 3 phases:
>> -    1.) Disover PRM Modules - Find all PRM modules loaded during DXE
>> dispatch and insert a PRM Module
>> +    1.) Discover PRM Modules - Find all PRM modules loaded during DXE
>> + dispatch and insert a PRM Module
>>           Context entry into a linked list to be handed off to phase 2.
>>       2.) Process PRM Modules - Build a GUID to PRM handler mapping for each
>> module that is described in the
>>           PRM ACPI table so the OS can resolve a PRM Handler GUID to the
>> corresponding PRM Handler physical address.
>> diff --git
>> a/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLibImage.c
>> b/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLibImage.c
>> index 144cc33e25c0..7c1c4b854b65 100644
>> ---
>> a/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLibImage.c
>> +++ b/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/Unit
>> +++ TestUefiBootServicesTableLibImage.c
>> @@ -130,7 +130,7 @@ UnitTestExit (
>>     @retval EFI_SUCCESS             The image has been unloaded.
>>     @retval EFI_UNSUPPORTED         The image has been started, and does not
>> support
>>                                     unload.
>> -  @retval EFI_INVALID_PARAMPETER  ImageHandle is not a valid image
>> handle.
>> +  @retval EFI_INVALID_PARAMETER   ImageHandle is not a valid image
>> handle.
>>
>>   **/
>>   EFI_STATUS
>> diff --git
>> a/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLibProtocol.c
>> b/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLibProtocol.c
>> index 437082d516ea..3d8110c8f8cd 100644
>> ---
>> a/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLibProtocol.c
>> +++ b/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/Unit
>> +++ TestUefiBootServicesTableLibProtocol.c
>> @@ -723,7 +723,7 @@ UnitTestReinstallProtocolInterface (  }
>>
>>   /**
>> -  Uninstalls all instances of a protocol:interfacer from a handle.
>> +  Uninstalls all instances of a protocol from a handle.
>>     If the last protocol interface is remove from the handle, the
>>     handle is freed.
>>
>> diff --git a/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h
>> b/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h
>> index 341b9b26a0f8..9df8d4d02370 100644
>> --- a/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h
>> +++ b/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h
>> @@ -34,7 +34,7 @@ GetNextPrmModuleEntry (
>>   /**
>>     Discovers all PRM Modules loaded during boot.
>>
>> -  Each PRM Module discovered is placed into a linked list so the list can br
>> processsed in the future.
>> +  Each PRM Module discovered is placed into a linked list so the list can br
>> processed in the future.
>>
>>     @param[out]   ModuleCount               An optional pointer parameter that, if
>> provided, is set to the number
>>                                             of PRM modules discovered.
>> diff --git a/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h
>> b/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h
>> index e2034d4738bd..fdb708c2a112 100644
>> --- a/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h
>> +++ b/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h
>> @@ -72,7 +72,7 @@ typedef struct {
>>   //
>>   // Todo: Revisit whether to use; currently both macros are not used  //
>> -#define PRM_MODULE_INFORMATION_STRUCTURE(ModuleGuid,
>> ModuleRevision, HandlerCount, PrmHanderInfoStructureArray)  {
>> \
>> +#define PRM_MODULE_INFORMATION_STRUCTURE(ModuleGuid,
>> ModuleRevision, HandlerCount, PrmHandlerInfoStructureArray)  {
>> \
>>       {                                                                                                                                   \
>>         PRM_MODULE_INFORMATION_STRUCT_REVISION,
>> /* UINT16    StructureRevision;   */                         \
>>         (OFFSET_OF (PRM_MODULE_INFORMATION_STRUCT,
>> HandlerInfoStructure) + (HandlerCount * sizeof
>> (PRM_HANDLER_INFORMATION_STRUCT))) /* UINT16    StructureLength;
>> */ \
>> @@ -80,7 +80,7 @@ typedef struct {
>>         ModuleRevision,
>> /* UINT16    ModuleRevision       */                         \
>>         HandlerCount,
>> /* UINT16    HandlerCount         */                         \
>>         OFFSET_OF (PRM_MODULE_INFORMATION_STRUCT, HandlerInfoOffset),
>> /* UINT32    HandlerInfoOffset    */                         \
>> -      PrmHanderInfoStructureArray
>> /* PRM_HANDLER_INFORMATION_STRUCT HandlerInfoStructure */    \
>> +      PrmHandlerInfoStructureArray
>> /* PRM_HANDLER_INFORMATION_STRUCT HandlerInfoStructure */    \
>>       } \
>>     }
>>
>> diff --git a/PrmPkg/PrmPkg.ci.yaml b/PrmPkg/PrmPkg.ci.yaml index
>> 2d4d12815d6b..521d95a2620f 100644
>> --- a/PrmPkg/PrmPkg.ci.yaml
>> +++ b/PrmPkg/PrmPkg.ci.yaml
>> @@ -94,10 +94,19 @@
>>                                       # in matching files
>>           "ExtendWords": [            # words to extend to the dictionary for this
>> package
>>             "buffe",                  # note: appears in buffer ascii dump in
>> documentation
>> +          "dbgmsgid",
>> +          "devicepath",
>>             "iptor",                  # note: appears in buffer ascii dump in
>> documentation
>>             "keepoptionalheader",
>>             "odule",                  # note: appears in buffer ascii dump in
>> documentation
>>             "oemid",
>> +          "packagelist",
>> +          "pecoff",
>> +          "prmconfig",
>> +          "prmcontextbufferlib",
>> +          "prminfo",
>> +          "prmloader",
>> +          "prmmodulediscoverylib",
>>             "prmopreg",
>>             "prmpecofflib",
>>             "prmpkg",
>> diff --git
>> a/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLib.h
>> b/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLib.h
>> index 82853bb61a1c..20958589b254 100644
>> ---
>> a/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/UnitTest
>> UefiBootServicesTableLib.h
>> +++ b/UnitTestFrameworkPkg/Library/UnitTestUefiBootServicesTableLib/Unit
>> +++ TestUefiBootServicesTableLib.h
>> @@ -354,7 +354,7 @@ UnitTestReinstallProtocolInterface (
>>     );
>>
>>   /**
>> -  Uninstalls all instances of a protocol:interfacer from a handle.
>> +  Uninstalls all instances of a protocol from a handle.
>>     If the last protocol interface is remove from the handle, the
>>     handle is freed.
>>
>> @@ -600,7 +600,7 @@ UnitTestExit (
>>     @retval EFI_SUCCESS             The image has been unloaded.
>>     @retval EFI_UNSUPPORTED         The image has been started, and does not
>> support
>>                                     unload.
>> -  @retval EFI_INVALID_PARAMPETER  ImageHandle is not a valid image
>> handle.
>> +  @retval EFI_INVALID_PARAMETER   ImageHandle is not a valid image
>> handle.
>>
>>   **/
>>   EFI_STATUS
>> --
>> 2.28.0.windows.1
>>
>>
>>
>> -=-=-=-=-=-=
>> Groups.io Links: You receive all messages sent to this group.
>> View/Reply Online (#97382): https://edk2.groups.io/g/devel/message/97382
>> Mute This Topic: https://groups.io/mt/95678199/1772825
>> Group Owner: devel+owner@edk2.groups.io
>> Unsubscribe: https://edk2.groups.io/g/devel/unsub [ankit.sinha@intel.com]
>> -=-=-=-=-=-=
>>
> 
> 
> 
> 
> 

  reply	other threads:[~2022-12-20 22:19 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 22:52 [PATCH v3 00/14] Fix new typos reported Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 01/14] PrmPkg: " Michael Kubacki
2022-12-20  3:09   ` [edk2-devel] " Ankit Sinha
2022-12-20 22:19     ` Michael Kubacki [this message]
2022-12-14 22:52 ` [PATCH v3 02/14] StandaloneMmPkg: " Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 03/14] DynamicTablesPkg: " Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 04/14] UnitTestFrameworkPkg: " Michael Kubacki
2022-12-14 23:05   ` Michael D Kinney
2022-12-14 22:52 ` [PATCH v3 05/14] FatPkg: " Michael Kubacki
2022-12-14 23:07   ` [edk2-devel] " Michael D Kinney
2022-12-14 22:52 ` [PATCH v3 06/14] FmpDevicePkg: " Michael Kubacki
2022-12-14 23:05   ` Michael D Kinney
2022-12-14 22:52 ` [PATCH v3 07/14] ArmPkg: Ignore " Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 08/14] ArmVirtPkg: Add new ignored spelling errors Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 09/14] ArmPkg: Fix typos Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 10/14] ArmPlatformPkg: " Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 11/14] ArmVirtPkg: " Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 12/14] .azurepipelines: Update cspell version to 5.21.0 Michael Kubacki
2022-12-14 23:06   ` [edk2-devel] " Michael D Kinney
2022-12-14 22:52 ` [PATCH v3 13/14] ArmPkg: Turn off spellcheck audit mode Michael Kubacki
2022-12-14 23:07   ` Ard Biesheuvel
2022-12-14 23:21     ` Michael Kubacki
2022-12-14 23:24       ` Ard Biesheuvel
2022-12-15  0:04         ` [edk2-devel] " Michael Kubacki
2022-12-15  8:46           ` Ard Biesheuvel
2022-12-15 10:42           ` Leif Lindholm
2022-12-15 16:38             ` Michael Kubacki
2022-12-15 16:57               ` Michael D Kinney
2022-12-16 17:36                 ` Michael Kubacki
2023-01-04 10:37               ` Ard Biesheuvel
2023-01-06  2:46                 ` Michael Kubacki
2023-01-11 16:23                   ` Ard Biesheuvel
2023-01-13  1:50                     ` Michael Kubacki
2022-12-14 22:52 ` [PATCH v3 14/14] ArmVirtPkg: " Michael Kubacki
2022-12-15 16:40 ` [PATCH v3 00/14] Fix new typos reported Michael Kubacki
2022-12-16  2:35   ` Dongdong Zhang

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=d8d5688f-ee51-67ab-2aea-d4a8ab11c8f9@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