Skip to content

Commit

Permalink
ShellPkg/DynamicCommand: Fix various typos
Browse files Browse the repository at this point in the history
Fix various typos in comments and documentation.

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Signed-off-by: Antoine Coeur <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
Signed-off-by: Philippe Mathieu-Daude <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
Coeur authored and mergify[bot] committed Feb 10, 2020
1 parent 6a5033c commit f16bd39
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down Expand Up @@ -918,7 +918,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.
Expand Down
2 changes: 1 addition & 1 deletion ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
**/
Expand Down
4 changes: 2 additions & 2 deletions ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
**/
Expand Down
4 changes: 2 additions & 2 deletions ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
**/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
**/
Expand Down

0 comments on commit f16bd39

Please sign in to comment.