[edk2] [PATCH 1/1] UefiCpuPkg/CpuExceptionHandlerLib: Fix spelling issue

Dong, Eric eric.dong at intel.com
Wed Dec 19 18:30:43 PST 2018


Hi Mike,

I searched the code base, found you missed one in PeiCpuException.c file. Can you change it also and send the new patch again?

Thanks,
Eric

> -----Original Message-----
> From: Mike Maslenkin [mailto:mike.maslenkin at gmail.com]
> Sent: Wednesday, December 19, 2018 7:55 AM
> To: edk2-devel at lists.01.org
> Cc: Mike Maslenkin <mike.maslenkin at gmail.com>; Dong, Eric
> <eric.dong at intel.com>; Laszlo Ersek <lersek at redhat.com>
> Subject: [PATCH 1/1] UefiCpuPkg/CpuExceptionHandlerLib: Fix spelling issue
> 
> *Excpetion* should be *Exception*
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Mike Maslenkin <mike.maslenkin at gmail.com>
> CC: Eric Dong <eric.dong at intel.com>
> CC: Laszlo Ersek <lersek at redhat.com>
> ---
>  UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h  | 2
> +-
>  UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c        | 2 +-
>  .../Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c  | 2 +-
>  .../Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c   | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h
> index e10d9379d596..cefa779b7e8a 100644
> --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h
> +++
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h
> @@ -310,7 +310,7 @@ CommonExceptionHandlerWorker (
>    @retval EFI_INVALID_PARAMETER   StackSwitchData contains invalid
> content.
>  **/
>  EFI_STATUS
> -ArchSetupExcpetionStack (
> +ArchSetupExceptionStack (
>    IN CPU_EXCEPTION_INIT_DATA        *StackSwitchData
>    );
> 
> diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c
> index 2a090782fc22..70ee7dd8bfb3 100644
> --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c
> +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c
> @@ -285,7 +285,7 @@ InitializeCpuExceptionHandlersEx (
> 
>          InitData = &EssData;
>        }
> -      Status = ArchSetupExcpetionStack (InitData);
> +      Status = ArchSetupExceptionStack (InitData);
>      }
>    }
> 
> diff --git
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.
> c
> index 04f2ab593c3e..8d1326c4ba71 100644
> ---
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c
> +++
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.
> c
> @@ -119,7 +119,7 @@ ArchRestoreExceptionContext (
> 
>  **/
>  EFI_STATUS
> -ArchSetupExcpetionStack (
> +ArchSetupExceptionStack (
>    IN CPU_EXCEPTION_INIT_DATA      *StackSwitchData
>    )
>  {
> diff --git
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c
> index 56180f4c17e4..02dfa50fc7d0 100644
> ---
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c
> +++
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c
> @@ -124,7 +124,7 @@ ArchRestoreExceptionContext (
> 
>  **/
>  EFI_STATUS
> -ArchSetupExcpetionStack (
> +ArchSetupExceptionStack (
>    IN CPU_EXCEPTION_INIT_DATA          *StackSwitchData
>    )
>  {
> --
> 2.19.2



More information about the edk2-devel mailing list