Reviewed-by: Zhichao Gao <zhichao....@intel.com>

> -----Original Message-----
> From: Philippe Mathieu-Daude [mailto:phi...@redhat.com]
> Sent: Wednesday, December 4, 2019 12:16 AM
> To: devel@edk2.groups.io
> Cc: Antoine Coeur <co...@gmx.fr>; Ni, Ray <ray...@intel.com>; Gao,
> Zhichao <zhichao....@intel.com>; Philippe Mathieu-Daude
> <phi...@redhat.com>
> Subject: [PATCH 69/79] ShellPkg/DynamicCommand: Fix various typos
> 
> From: Antoine Coeur <co...@gmx.fr>
> 
> Fix various typos in comments and documentation.
> 
> Cc: Ray Ni <ray...@intel.com>
> Cc: Zhichao Gao <zhichao....@intel.com>
> Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com>
> Signed-off-by: Philippe Mathieu-Daude <phi...@redhat.com>
> ---
>  ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h                   | 2 +-
>  ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h               | 2 +-
>  ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c                   | 4 ++--
>  ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c                | 2 +-
>  ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c
> | 4 ++--
>  ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c              | 4 ++--
>  ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c               | 8 ++++--
> --
>  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c            | 2 +-
> 
> ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.
> c | 4 ++--
>  9 files changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
> b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
> index e446cccde923..84fe0b502f46 100644
> --- a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
> +++ b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
> @@ -127,7 +127,7 @@ RunDp (
>    );
> 
>  /**
> -  Retrive HII package list from ImageHandle and publish to HII database.
> +  Retrieve HII package list from ImageHandle and publish to HII database.
> 
>    @param ImageHandle            The image handle of the process.
> 
> diff --git a/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
> b/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
> index 4cd778436813..c46a0d5b0c3b 100644
> --- a/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
> +++ b/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
> @@ -56,7 +56,7 @@ RunTftp (
>    );
> 
>  /**
> -  Retrive HII package list from ImageHandle and publish to HII database.
> +  Retrieve HII package list from ImageHandle and publish to HII database.
> 
>    @param ImageHandle            The image handle of the process.
> 
> diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
> b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
> index 4ec4c18348bd..f7f3676bc91a 100644
> --- a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
> +++ b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
> @@ -154,7 +154,7 @@ GetHandleFormModuleGuid (
>      *Handle = NULL;
>    }
>    //
> -  // Try to get the Handle form the caached array.
> +  // Try to get the Handle from the cached array.
>    //
>    for (Index = 0; Index < mCachePairCount; Index++) {
>      if (CompareGuid (ModuleGuid,
> &mCacheHandleGuidTable[Index].ModuleGuid)) { @@ -918,7 +918,7 @@
> Done:
> 
> 
>  /**
> -  Retrive HII package list from ImageHandle and publish to HII database.
> +  Retrieve HII package list from ImageHandle and publish to HII database.
> 
>    @param ImageHandle            The image handle of the process.
> 
> diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
> b/ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
> index a7cecdfe0ade..b4b242a41158 100644
> --- a/ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
> +++ b/ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
> @@ -24,7 +24,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID
> mStringHelpTokenId = STRING_TOKEN (S
>    @param ImageHandle            The image handle of the process.
>    @param SystemTable            The EFI System Table pointer.
> 
> -  @retval EFI_SUCCESS           Tftp command is executed sucessfully.
> +  @retval EFI_SUCCESS           Tftp command is executed successfully.
>    @retval EFI_ABORTED           HII package was failed to initialize.
>    @retval others                Other errors when executing tftp command.
>  **/
> diff --git
> a/ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.
> c
> b/ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.
> c
> index d7dd85666c50..50fcc6e74616 100644
> ---
> a/ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.
> c
> +++
> b/ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.
> c
> @@ -19,7 +19,7 @@
>    @param[in] Shell                  The instance of the shell protocol used 
> in the
> context
>                                      of processing this command.
> 
> -  @return EFI_SUCCESS               the operation was sucessful
> +  @return EFI_SUCCESS               the operation was successful
>    @return other                     the operation failed.
>  **/
>  SHELL_STATUS
> @@ -70,7 +70,7 @@ EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
> mDpDynamicCommand = {
>    @param ImageHandle            The image handle of the process.
>    @param SystemTable            The EFI System Table pointer.
> 
> -  @retval EFI_SUCCESS           Tftp command is executed sucessfully.
> +  @retval EFI_SUCCESS           Tftp command is executed successfully.
>    @retval EFI_ABORTED           HII package was failed to initialize.
>    @retval others                Other errors when executing tftp command.
>  **/
> diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
> b/ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
> index f64c5ccf58f9..1a247d4bd492 100644
> --- a/ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
> +++ b/ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
> @@ -85,7 +85,7 @@ GetPerformanceMeasurementRecord (
>    @post The SummaryData and CumData structures contain statistics for the
>          current performance logs.
> 
> -  @param[in, out] CustomCumulativeData  A pointer to the cumtom
> cumulative data.
> +  @param[in, out] CustomCumulativeData  A pointer to the custom
> cumulative data.
> 
>  **/
>  VOID
> @@ -830,7 +830,7 @@ ProcessGlobal(
>       - Update the instance count and the total, minimum, and maximum
> durations.
>    Finally, print the gathered cumulative statistics.
> 
> -  @param[in]    CustomCumulativeData  A pointer to the cumtom cumulative
> data.
> +  @param[in]    CustomCumulativeData  A pointer to the custom cumulative
> data.
> 
>  **/
>  VOID
> diff --git a/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
> b/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
> index f28da9af723c..4e296c495b2d 100644
> --- a/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
> +++ b/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
> @@ -15,7 +15,7 @@ EFI_HII_HANDLE   mTftpHiiHandle;
> 
>  /*
>     Constant strings and definitions related to the message indicating the
> amount of
> -   progress in the dowloading of a TFTP file.
> +   progress in the downloading of a TFTP file.
>  */
> 
>  // Frame for the progression slider
> @@ -48,7 +48,7 @@ CONST CHAR16         *mLocalFilePath;
>    @param[out] Value     UINT16 value
> 
>    @return     TRUE      The value was returned.
> -  @return     FALSE     A parsing error occured.
> +  @return     FALSE     A parsing error occurred.
>  **/
>  STATIC
>  BOOLEAN
> @@ -585,7 +585,7 @@ RunTftp (
>    @param[out] Value     UINT16 value
> 
>    @return     TRUE      The value was returned.
> -  @return     FALSE     A parsing error occured.
> +  @return     FALSE     A parsing error occurred.
>  **/
>  STATIC
>  BOOLEAN
> @@ -1081,7 +1081,7 @@ CheckPacket (
>  }
> 
>  /**
> -  Retrive HII package list from ImageHandle and publish to HII database.
> +  Retrieve HII package list from ImageHandle and publish to HII database.
> 
>    @param ImageHandle            The image handle of the process.
> 
> diff --git a/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c
> b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c
> index 34466eda4b87..0972454c2863 100644
> --- a/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c
> +++ b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c
> @@ -25,7 +25,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID
> mStringHelpTokenId = STRING_TOKEN (S
>    @param ImageHandle            The image handle of the process.
>    @param SystemTable            The EFI System Table pointer.
> 
> -  @retval EFI_SUCCESS           Tftp command is executed sucessfully.
> +  @retval EFI_SUCCESS           Tftp command is executed successfully.
>    @retval EFI_ABORTED           HII package was failed to initialize.
>    @retval others                Other errors when executing tftp command.
>  **/
> diff --git
> a/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicComman
> d.c
> b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicComman
> d.c
> index 4022e0ec7886..8e5df7b2d160 100644
> ---
> a/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicComman
> d.c
> +++
> b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicComman
> d.c
> @@ -20,7 +20,7 @@
>    @param[in] Shell                  The instance of the shell protocol used 
> in the
> context
>                                      of processing this command.
> 
> -  @return EFI_SUCCESS               the operation was sucessful
> +  @return EFI_SUCCESS               the operation was successful
>    @return other                     the operation failed.
>  **/
>  SHELL_STATUS
> @@ -71,7 +71,7 @@ EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
> mTftpDynamicCommand = {
>    @param ImageHandle            The image handle of the process.
>    @param SystemTable            The EFI System Table pointer.
> 
> -  @retval EFI_SUCCESS           Tftp command is executed sucessfully.
> +  @retval EFI_SUCCESS           Tftp command is executed successfully.
>    @retval EFI_ABORTED           HII package was failed to initialize.
>    @retval others                Other errors when executing tftp command.
>  **/
> --
> 2.21.0


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

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

Reply via email to