From d6b926e76e3d639ac37610e97d33ff9e3a6281eb Mon Sep 17 00:00:00 2001 From: Sean Brogan Date: Wed, 9 Oct 2019 00:20:15 -0700 Subject: SecurityPkg: Fix spelling errors https://bugzilla.tianocore.org/show_bug.cgi?id=2265 Cc: Jiewen Yao Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Michael D Kinney Reviewed-by: Jiewen Yao Reviewed-by: Jian J Wang --- SecurityPkg/HddPassword/HddPasswordDxe.c | 10 +++++----- SecurityPkg/HddPassword/HddPasswordDxe.h | 2 +- SecurityPkg/HddPassword/HddPasswordStrings.uni | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'SecurityPkg/HddPassword') diff --git a/SecurityPkg/HddPassword/HddPasswordDxe.c b/SecurityPkg/HddPassword/HddPasswordDxe.c index 051e64091d..a25b3471d0 100644 --- a/SecurityPkg/HddPassword/HddPasswordDxe.c +++ b/SecurityPkg/HddPassword/HddPasswordDxe.c @@ -120,7 +120,7 @@ BuildHddPasswordDeviceInfo ( // // 1. Handle device which already set password. - // 2. When request to send freeze comamnd, driver also needs to handle device + // 2. When request to send freeze command, driver also needs to handle device // which support security feature. // if ((!PasswordIsFullZero (ConfigFormEntry->Password)) || @@ -2008,9 +2008,9 @@ SaveHddPasswordRequest ( } /** - Get the HDD Password configuration form entry by the index of the goto opcode actived. + Get the HDD Password configuration form entry by the index of the goto opcode activated. - @param[in] Index The 0-based index of the goto opcode actived. + @param[in] Index The 0-based index of the goto opcode activated. @return The HDD Password configuration form entry found. **/ @@ -2758,7 +2758,7 @@ HddPasswordConfigFormInit ( @param ImageHandle Image handle this driver. @param SystemTable Pointer to SystemTable. - @retval EFI_SUCESS This function always complete successfully. + @retval EFI_SUCCESS This function always complete successfully. **/ EFI_STATUS @@ -2806,7 +2806,7 @@ HddPasswordDxeInit ( ASSERT_EFI_ERROR (Status); // - // Make HDD_PASSWORD_VARIABLE_NAME varible read-only. + // Make HDD_PASSWORD_VARIABLE_NAME variable read-only. // Status = gBS->LocateProtocol (&gEdkiiVariableLockProtocolGuid, NULL, (VOID **) &VariableLock); if (!EFI_ERROR (Status)) { diff --git a/SecurityPkg/HddPassword/HddPasswordDxe.h b/SecurityPkg/HddPassword/HddPasswordDxe.h index f695ca9454..87db587eb6 100644 --- a/SecurityPkg/HddPassword/HddPasswordDxe.h +++ b/SecurityPkg/HddPassword/HddPasswordDxe.h @@ -88,7 +88,7 @@ typedef struct _HDD_PASSWORD_DXE_PRIVATE_DATA { #define HDD_PASSWORD_DXE_PRIVATE_FROM_THIS(a) CR (a, HDD_PASSWORD_DXE_PRIVATE_DATA, ConfigAccess, HDD_PASSWORD_DXE_PRIVATE_SIGNATURE) // -//Iterate through the doule linked list. NOT delete safe +//Iterate through the double linked list. NOT delete safe // #define EFI_LIST_FOR_EACH(Entry, ListHead) \ for (Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink) diff --git a/SecurityPkg/HddPassword/HddPasswordStrings.uni b/SecurityPkg/HddPassword/HddPasswordStrings.uni index 188c40f349..b6fddffced 100644 --- a/SecurityPkg/HddPassword/HddPasswordStrings.uni +++ b/SecurityPkg/HddPassword/HddPasswordStrings.uni @@ -16,7 +16,7 @@ #string STR_SECURITY_HDD_BANNER_ONE #language en-US "Allows Access to Set, Modify and Clear HardDisk User and" #string STR_SECURITY_HDD_BANNER_TWO #language en-US "Master Passwords." #string STR_SECURITY_HDD_BANNER_THREE #language en-US "User Password need to be installed for Enabling Security." -#string STR_SECURITY_HDD_BANNER_FOUR #language en-US "Master Password can be modified only when succesfully" +#string STR_SECURITY_HDD_BANNER_FOUR #language en-US "Master Password can be modified only when successfully" #string STR_SECURITY_HDD_BANNER_FIVE #language en-US "unlocked with User Password in POST." #string STR_HDD_SECURITY_HD #language en-US "HDD Password" -- cgit v1.2.3