]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h
SecurityPkg: Fix spelling errors
[mirror_edk2.git] / SecurityPkg / Tcg / Opal / OpalPassword / OpalDriver.h
index beeabb1c0ae25a1795ef1ff32882e9db3dfee26a..c19d78218ec9e83d9de14d2cc8a0bda9376f3b0c 100644 (file)
@@ -61,7 +61,7 @@ extern EFI_DRIVER_BINDING_PROTOCOL   gOpalDriverBinding;
 extern EFI_COMPONENT_NAME_PROTOCOL   gOpalComponentName;\r
 extern EFI_COMPONENT_NAME2_PROTOCOL  gOpalComponentName2;\r
 \r
-#define OPAL_MSID_LENGHT        128\r
+#define OPAL_MSID_LENGTH        128\r
 \r
 #define MAX_PASSWORD_TRY_COUNT  5\r
 \r
@@ -131,7 +131,7 @@ typedef struct {
 //\r
 typedef struct {\r
   UINT32                                          MsidLength;             // Byte length of MSID Pin for device\r
-  UINT8                                           Msid[OPAL_MSID_LENGHT]; // MSID Pin for device\r
+  UINT8                                           Msid[OPAL_MSID_LENGTH]; // MSID Pin for device\r
   EFI_STORAGE_SECURITY_COMMAND_PROTOCOL           *Sscp;\r
   UINT32                                          MediaId;                // MediaId is used by Ssc Protocol.\r
   EFI_DEVICE_PATH_PROTOCOL                        *OpalDevicePath;\r
@@ -309,7 +309,7 @@ OpalEfiDriverBindingSupported(
   "controller", which is a child handle, contains the EF_STORAGE_SECURITY_COMMAND protocols.\r
   This function will complete the other necessary checks, such as verifying the device supports\r
   the correct version of Opal.  Upon verification, it will add the device to the\r
-  Opal HII list in order to expose Opal managmeent options.\r
+  Opal HII list in order to expose Opal management options.\r
 \r
   @param[in]  This                  A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
   @param[in]  ControllerHandle      The handle of the controller to start. This handle\r