[edk2-devel] [PATCH v2 75/78] StandaloneMmPkg: Fix few typos

Philippe Mathieu-Daudé posted 78 patches 6 years, 1 month ago
There is a newer version of this series
[edk2-devel] [PATCH v2 75/78] StandaloneMmPkg: Fix few typos
Posted by Philippe Mathieu-Daudé 6 years, 1 month ago
From: Antoine Coeur <coeur@gmx.fr>

Fix few typos in comments.

Cc: Achin Gupta <achin.gupta@arm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: jiewen.yao@intel.com
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
 .../StandaloneMmPeCoffExtraActionLib.inf                        | 2 +-
 StandaloneMmPkg/Core/Dependency.c                               | 2 +-
 StandaloneMmPkg/Core/FwVol.c                                    | 2 +-
 StandaloneMmPkg/Core/StandaloneMmCore.c                         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
index e972ba3bc7b8..89083df679a1 100644
--- a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
+++ b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
@@ -1,5 +1,5 @@
 #/** @file
-# PeCoff extra action libary for DXE phase that run Unix emulator.
+# PeCoff extra action library for DXE phase that run Unix emulator.
 #
 # Lib to provide memory journal status code reporting Routines
 # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Dependency.c
index 7c6e76748b2b..e0f2d3518369 100644
--- a/StandaloneMmPkg/Core/Dependency.c
+++ b/StandaloneMmPkg/Core/Dependency.c
@@ -372,7 +372,7 @@ MmIsSchedulable (
     // The math is done out of order, but it should not matter. That is
     // we may add in the sizeof (EFI_GUID) before we account for the OP Code.
     // This is not an issue, since we just need the correct end result. You
-    // need to be careful using Iterator in the loop as it's intermediate value
+    // need to be careful using Iterator in the loop as its intermediate value
     // may be strange.
     //
     Iterator++;
diff --git a/StandaloneMmPkg/Core/FwVol.c b/StandaloneMmPkg/Core/FwVol.c
index 314329ea065a..856d86011d31 100644
--- a/StandaloneMmPkg/Core/FwVol.c
+++ b/StandaloneMmPkg/Core/FwVol.c
@@ -50,7 +50,7 @@ MmCoreFfsFindMmDriver (
 
 Routine Description:
   Given the pointer to the Firmware Volume Header find the
-  MM driver and return it's PE32 image.
+  MM driver and return its PE32 image.
 
 Arguments:
   FwVolHeader - Pointer to memory mapped FV
diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core/StandaloneMmCore.c
index c52164683de8..ac3e2c0b1b93 100644
--- a/StandaloneMmPkg/Core/StandaloneMmCore.c
+++ b/StandaloneMmPkg/Core/StandaloneMmCore.c
@@ -354,7 +354,7 @@ MmEntryPoint (
   //PlatformHookBeforeMmDispatch ();
 
   //
-  // If a legacy boot has occured, then make sure gMmCorePrivate is not accessed
+  // If a legacy boot has occurred, then make sure gMmCorePrivate is not accessed
   //
 
   //
-- 
2.21.0


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

View/Reply Online (#52815): https://edk2.groups.io/g/devel/message/52815
Mute This Topic: https://groups.io/mt/69396194/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 75/78] StandaloneMmPkg: Fix few typos
Posted by Yao, Jiewen 6 years, 1 month ago
Reviewed-by: jiewen.yao@intel.com

> -----Original Message-----
> From: Philippe Mathieu-Daude <philmd@redhat.com>
> Sent: Friday, January 3, 2020 5:08 PM
> To: devel@edk2.groups.io
> Cc: Antoine Coeur <coeur@gmx.fr>; Achin Gupta <achin.gupta@arm.com>; Yao,
> Jiewen <jiewen.yao@intel.com>; Supreeth Venkatesh
> <supreeth.venkatesh@arm.com>; Philippe Mathieu-Daude
> <philmd@redhat.com>
> Subject: [PATCH v2 75/78] StandaloneMmPkg: Fix few typos
> 
> From: Antoine Coeur <coeur@gmx.fr>
> 
> Fix few typos in comments.
> 
> Cc: Achin Gupta <achin.gupta@arm.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Signed-off-by: Antoine Coeur <coeur@gmx.fr>
> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
> Reviewed-by: jiewen.yao@intel.com
> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
> ---
>  .../StandaloneMmPeCoffExtraActionLib.inf                        | 2 +-
>  StandaloneMmPkg/Core/Dependency.c                               | 2 +-
>  StandaloneMmPkg/Core/FwVol.c                                    | 2 +-
>  StandaloneMmPkg/Core/StandaloneMmCore.c                         | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git
> a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneM
> mPeCoffExtraActionLib.inf
> b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneM
> mPeCoffExtraActionLib.inf
> index e972ba3bc7b8..89083df679a1 100644
> ---
> a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneM
> mPeCoffExtraActionLib.inf
> +++
> b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneM
> mPeCoffExtraActionLib.inf
> @@ -1,5 +1,5 @@
>  #/** @file
> -# PeCoff extra action libary for DXE phase that run Unix emulator.
> +# PeCoff extra action library for DXE phase that run Unix emulator.
>  #
>  # Lib to provide memory journal status code reporting Routines
>  # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
> diff --git a/StandaloneMmPkg/Core/Dependency.c
> b/StandaloneMmPkg/Core/Dependency.c
> index 7c6e76748b2b..e0f2d3518369 100644
> --- a/StandaloneMmPkg/Core/Dependency.c
> +++ b/StandaloneMmPkg/Core/Dependency.c
> @@ -372,7 +372,7 @@ MmIsSchedulable (
>      // The math is done out of order, but it should not matter. That is
>      // we may add in the sizeof (EFI_GUID) before we account for the OP Code.
>      // This is not an issue, since we just need the correct end result. You
> -    // need to be careful using Iterator in the loop as it's intermediate value
> +    // need to be careful using Iterator in the loop as its intermediate value
>      // may be strange.
>      //
>      Iterator++;
> diff --git a/StandaloneMmPkg/Core/FwVol.c b/StandaloneMmPkg/Core/FwVol.c
> index 314329ea065a..856d86011d31 100644
> --- a/StandaloneMmPkg/Core/FwVol.c
> +++ b/StandaloneMmPkg/Core/FwVol.c
> @@ -50,7 +50,7 @@ MmCoreFfsFindMmDriver (
> 
>  Routine Description:
>    Given the pointer to the Firmware Volume Header find the
> -  MM driver and return it's PE32 image.
> +  MM driver and return its PE32 image.
> 
>  Arguments:
>    FwVolHeader - Pointer to memory mapped FV
> diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c
> b/StandaloneMmPkg/Core/StandaloneMmCore.c
> index c52164683de8..ac3e2c0b1b93 100644
> --- a/StandaloneMmPkg/Core/StandaloneMmCore.c
> +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c
> @@ -354,7 +354,7 @@ MmEntryPoint (
>    //PlatformHookBeforeMmDispatch ();
> 
>    //
> -  // If a legacy boot has occured, then make sure gMmCorePrivate is not
> accessed
> +  // If a legacy boot has occurred, then make sure gMmCorePrivate is not
> accessed
>    //
> 
>    //
> --
> 2.21.0


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

View/Reply Online (#52823): https://edk2.groups.io/g/devel/message/52823
Mute This Topic: https://groups.io/mt/69396194/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-