From f16bd39441b9bdb112e9ee885e979f60f77430db Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Fri, 7 Feb 2020 02:08:21 +0100 Subject: ShellPkg/DynamicCommand: Fix various typos Fix various typos in comments and documentation. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Zhichao Gao Signed-off-by: Philippe Mathieu-Daude Message-Id: <20200207010831.9046-69-philmd@redhat.com> --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 4 ++-- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h | 2 +- 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/Tftp.h | 2 +- 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.c b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c index 4ec4c18348..f7f3676bc9 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/Dp.h b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h index e446cccde9..84fe0b502f 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/DpDynamicCommand/DpApp.c b/ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c index a7cecdfe0a..b4b242a411 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 d7dd85666c..50fcc6e746 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 f64c5ccf58..1a247d4bd4 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 f28da9af72..4e296c495b 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/Tftp.h b/ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h index 4cd7784368..c46a0d5b0c 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/TftpDynamicCommand/TftpApp.c b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c index 34466eda4b..0972454c28 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/TftpDynamicCommand.c b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.c index 4022e0ec78..8e5df7b2d1 100644 --- a/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.c +++ b/ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.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. **/ -- cgit v1.2.3