]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/HddPassword/HddPasswordDxe.c
SecurityPkg: Fix spelling errors
[mirror_edk2.git] / SecurityPkg / HddPassword / HddPasswordDxe.c
index 051e64091d7f78b7c3487078ef4553aead00f6b8..a25b3471d073449e6bb99d753be80c412c7355b6 100644 (file)
@@ -120,7 +120,7 @@ BuildHddPasswordDeviceInfo (
 \r
     //\r
     // 1. Handle device which already set password.\r
-    // 2. When request to send freeze comamnd, driver also needs to handle device\r
+    // 2. When request to send freeze command, driver also needs to handle device\r
     //    which support security feature.\r
     //\r
     if ((!PasswordIsFullZero (ConfigFormEntry->Password)) ||\r
@@ -2008,9 +2008,9 @@ SaveHddPasswordRequest (
 }\r
 \r
 /**\r
-  Get the HDD Password configuration form entry by the index of the goto opcode actived.\r
+  Get the HDD Password configuration form entry by the index of the goto opcode activated.\r
 \r
-  @param[in]  Index The 0-based index of the goto opcode actived.\r
+  @param[in]  Index The 0-based index of the goto opcode activated.\r
 \r
   @return The HDD Password configuration form entry found.\r
 **/\r
@@ -2758,7 +2758,7 @@ HddPasswordConfigFormInit (
   @param ImageHandle     Image handle this driver.\r
   @param SystemTable     Pointer to SystemTable.\r
 \r
-  @retval EFI_SUCESS     This function always complete successfully.\r
+  @retval EFI_SUCCESS     This function always complete successfully.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -2806,7 +2806,7 @@ HddPasswordDxeInit (
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
-  // Make HDD_PASSWORD_VARIABLE_NAME varible read-only.\r
+  // Make HDD_PASSWORD_VARIABLE_NAME variable read-only.\r
   //\r
   Status = gBS->LocateProtocol (&gEdkiiVariableLockProtocolGuid, NULL, (VOID **) &VariableLock);\r
   if (!EFI_ERROR (Status)) {\r