> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael
> D Kinney
> Sent: Saturday, August 1, 2020 9:05 AM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.w...@intel.com>; Wu, Hao A <hao.a...@intel.com>
> Subject: [edk2-devel] [Patch 2/6] MdeModulePkg: Fix spelling mistake for
> occurred
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2361
> 
> Cc: Jian J Wang <jian.j.w...@intel.com>
> Cc: Hao A Wu <hao.a...@intel.com>
> Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
> ---
>  MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c                      | 4 ++--
>  MdeModulePkg/Core/Dxe/FwVol/FwVol.c                           | 2 +-
>  MdeModulePkg/Include/Protocol/GenericMemoryTest.h             | 4 ++--
>  MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c      | 2 +-
>  MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c   | 2 +-
>  MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h   | 4 ++--
>  .../Universal/Console/ConSplitterDxe/ConSplitterGraphics.c    | 4 ++--
>  MdeModulePkg/Universal/DebugPortDxe/DebugPort.c               | 2 +-
>  MdeModulePkg/Universal/DebugPortDxe/DebugPort.h               | 2 +-
>  .../Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c      | 2 +-
>  MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.c          | 2 +-
>  .../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c         | 4 ++--
>  .../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.h         | 4 ++--
>  13 files changed, 19 insertions(+), 19 deletions(-)
> 
> diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c
> b/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c
> index 12afbec852..e216418849 100644
> --- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c
> +++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c
> @@ -513,7 +513,7 @@ UhciCheckTdStatus (
>        // terminate the transfer
>        //
>        if (!IsLow && (TdHw->ShortPacket == 1) && (Len < Td->DataLen)) {
> -        DEBUG ((EFI_D_VERBOSE, "UhciCheckTdStatus: short packet read
> occured\n"));
> +        DEBUG ((DEBUG_VERBOSE, "UhciCheckTdStatus: short packet read
> occurred\n"));
> 
>          Finished = TRUE;
>          goto ON_EXIT;
> @@ -590,7 +590,7 @@ UhciExecuteTransfer (
>      Finished = UhciCheckTdStatus (Uhc, Td, IsLow, QhResult);
> 
>      //
> -    // Transfer is OK or some error occured (TD inactive)
> +    // Transfer is OK or some error occurred (TD inactive)
>      //
>      if (Finished) {
>        break;
> diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> index e2f58c4d82..cbf5c1c7b9 100644
> --- a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> +++ b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> @@ -572,7 +572,7 @@ Done:
>    EFI_FIRMWARE_VOLUME2_PROTOCOL on the same handle.  This is the
> function where
>    the actual initialization of the EFI_FIRMWARE_VOLUME2_PROTOCOL is
> done.
> 
> -  @param  Event                 The event that occured
> +  @param  Event                 The event that occurred
>    @param  Context               For EFI compatiblity.  Not used.
> 
>  **/
> diff --git a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
> b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
> index 61cab8c4ae..08157f35f5 100644
> --- a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
> +++ b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
> @@ -54,12 +54,12 @@ EFI_STATUS
>    @param  TestedMemorySize    Return the tested extended memory size.
>    @param  TotalMemorySize     Return the whole system physical memory
> size.
>                                The total memory size does not include memory 
> in a slot
> with a disabled DIMM.
> -  @param  ErrorOut            TRUE if the memory error occured.
> +  @param  ErrorOut            TRUE if the memory error occurred.
>    @param  IfTestAbort         Indicates that the user pressed "ESC" to skip 
> the
> memory test.
> 
>    @retval EFI_SUCCESS         One block of memory passed the test.
>    @retval EFI_NOT_FOUND       All memory blocks have already been tested.
> -  @retval EFI_DEVICE_ERROR    Memory device error occured, and no agent
> can handle it.
> +  @retval EFI_DEVICE_ERROR    Memory device error occurred, and no
> agent can handle it.
> 
>  **/
>  typedef
> diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
> b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
> index cfa8ebbd2f..e342f73485 100644
> --- a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
> +++ b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
> @@ -889,7 +889,7 @@ BootScriptCompare (
> 
>    @retval EFI_OUT_OF_RESOURCES  No enough resource
>    @retval EFI_SUCCESS           Succesfully installed the ScriptSave driver.
> -  @retval other                 Errors occured.
> +  @retval other                 Errors occurred.
> 
>  **/
>  EFI_STATUS
> diff --git
> a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
> b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
> index fc6d29e48b..601c8218db 100644
> --- a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
> +++ b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
> @@ -887,7 +887,7 @@ BootScriptCompare (
> 
>    @retval EFI_OUT_OF_RESOURCES  No enough resource
>    @retval EFI_SUCCESS           Succesfully installed the ScriptSave driver.
> -  @retval other                 Errors occured.
> +  @retval other                 Errors occurred.
> 
>  **/
>  EFI_STATUS
> diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
> b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
> index 419635c3f5..f26d2adb81 100644
> --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
> +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
> @@ -1852,7 +1852,7 @@ ConSplitterGraphicsOutputSetMode (
> 
>    @retval EFI_SUCCESS             The Blt operation completed.
>    @retval EFI_INVALID_PARAMETER   BltOperation is not valid.
> -  @retval EFI_DEVICE_ERROR        A hardware error occured writting to the
> video
> +  @retval EFI_DEVICE_ERROR        A hardware error occurred writting to the
> video
>                                    buffer.
> 
>  **/
> @@ -1966,7 +1966,7 @@ ConSplitterUgaDrawSetMode (
> 
>    @retval EFI_SUCCESS            The Blt operation completed.
>    @retval EFI_INVALID_PARAMETER  BltOperation is not valid.
> -  @retval EFI_DEVICE_ERROR       A hardware error occured writting to the
> video buffer.
> +  @retval EFI_DEVICE_ERROR       A hardware error occurred writting to the
> video buffer.
> 
>  **/
>  EFI_STATUS
> diff --git
> a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c
> b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c
> index ab1d2ddc4d..9323f31b63 100644
> ---
> a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c
> +++
> b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c
> @@ -238,7 +238,7 @@ ConSplitterGraphicsOutputSetMode (
> 
>    @retval EFI_SUCCESS             The Blt operation completed.
>    @retval EFI_INVALID_PARAMETER   BltOperation is not valid.
> -  @retval EFI_DEVICE_ERROR        A hardware error occured writting to the
> video
> +  @retval EFI_DEVICE_ERROR        A hardware error occurred writting to the
> video
>                                    buffer.
> 
>  **/
> @@ -513,7 +513,7 @@ ConSplitterUgaDrawSetMode (
> 
>    @retval EFI_SUCCESS            The Blt operation completed.
>    @retval EFI_INVALID_PARAMETER  BltOperation is not valid.
> -  @retval EFI_DEVICE_ERROR       A hardware error occured writting to the
> video buffer.
> +  @retval EFI_DEVICE_ERROR       A hardware error occurred writting to the
> video buffer.
> 
>  **/
>  EFI_STATUS
> diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
> b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
> index c3e7db4c42..172c1cbca3 100644
> --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
> +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
> @@ -632,7 +632,7 @@ DebugPortWrite (
>                                the DebugPort interface.
>    @retval EFI_NOT_READY       There are no characters ready to read from
> the
>                                DebugPort interface
> -  @retval EFI_DEVICE_ERROR    A hardware failure occured... (from SerialIo)
> +  @retval EFI_DEVICE_ERROR    A hardware failure occurred... (from SerialIo)
> 
>  **/
>  EFI_STATUS
> diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
> b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
> index 9fa2ae922d..12fca8e273 100644
> --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
> +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
> @@ -378,7 +378,7 @@ DebugPortWrite (
>                                the DebugPort interface.
>    @retval EFI_NOT_READY       There are no characters ready to read from
> the
>                                DebugPort interface
> -  @retval EFI_DEVICE_ERROR    A hardware failure occured... (from SerialIo)
> +  @retval EFI_DEVICE_ERROR    A hardware failure occurred... (from SerialIo)
> 
>  **/
>  EFI_STATUS
> diff --git
> a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
> b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
> index ac57a6c060..f33f7f7216 100644
> ---
> a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
> +++
> b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
> @@ -362,7 +362,7 @@ RemoveLastItemFromPath (
> 
>    @param  Path          The pointer to the string containing the path.
> 
> -  @retval NULL          An error occured.
> +  @retval NULL          An error occurred.
>    @return Path in all other instances.
> 
>  **/
> diff --git a/MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.c
> b/MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.c
> index 43fa6ce128..58e658ee08 100644
> --- a/MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.c
> +++ b/MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.c
> @@ -317,7 +317,7 @@ InstallFileLoadProtocol (
>    EFI_FIRMWARE_VOLUME_PROTOCOL on the handle of the FFS. This
> notification function
>    also handles the situation when LZMA decoder driver loaded later than
> FirmwareVolume driver.
> 
> -  @param  Event                 The event that occured
> +  @param  Event                 The event that occurred
>    @param  Context               Context of event. Not used in this nofication
> function.
> 
>  **/
> diff --git
> a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.c
> b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.c
> index fe24e490d4..7fd383ab72 100644
> ---
> a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.c
> +++
> b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.c
> @@ -539,12 +539,12 @@ InitializeMemoryTest (
>    @param[out] TestedMemorySize  Return the tested extended memory size.
>    @param[out] TotalMemorySize   Return the whole system physical
> memory size.
>                                  The total memory size does not include 
> memory in a slot
> with a disabled DIMM.
> -  @param[out] ErrorOut          TRUE if the memory error occured.
> +  @param[out] ErrorOut          TRUE if the memory error occurred.
>    @param[in]  IfTestAbort       Indicates that the user pressed "ESC" to skip
> the memory test.
> 
>    @retval EFI_SUCCESS         One block of memory passed the test.
>    @retval EFI_NOT_FOUND       All memory blocks have already been tested.
> -  @retval EFI_DEVICE_ERROR    Memory device error occured, and no agent
> can handle it.
> +  @retval EFI_DEVICE_ERROR    Memory device error occurred, and no
> agent can handle it.
> 
>  **/
>  EFI_STATUS
> diff --git
> a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.h
> b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.h
> index b9e2eaa1e5..72e58ae4a8 100644
> ---
> a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.h
> +++
> b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe
> moryTest.h
> @@ -280,12 +280,12 @@ InitializeMemoryTest (
>    @param[out] TestedMemorySize  Return the tested extended memory size.
>    @param[out] TotalMemorySize   Return the whole system physical
> memory size.
>                                  The total memory size does not include 
> memory in a slot
> with a disabled DIMM.
> -  @param[out] ErrorOut          TRUE if the memory error occured.
> +  @param[out] ErrorOut          TRUE if the memory error occurred.
>    @param[in]  IfTestAbort       Indicates that the user pressed "ESC" to skip
> the memory test.
> 
>    @retval EFI_SUCCESS         One block of memory passed the test.
>    @retval EFI_NOT_FOUND       All memory blocks have already been tested.
> -  @retval EFI_DEVICE_ERROR    Memory device error occured, and no agent
> can handle it.
> +  @retval EFI_DEVICE_ERROR    Memory device error occurred, and no
> agent can handle it.


Reviewed-by: Hao A Wu <hao.a...@intel.com>

Best Regards,
Hao Wu


> 
>  **/
>  EFI_STATUS
> --
> 2.21.0.windows.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#63807): https://edk2.groups.io/g/devel/message/63807
Mute This Topic: https://groups.io/mt/75919237/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to