]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
SecurityPkg: Fix typos in comments
[mirror_edk2.git] / SecurityPkg / Library / TcgStorageOpalLib / TcgStorageOpalCore.c
index cc8d5ef3f00033d2a9530732f47a44192de9da58..90cc51a24c170e829873f5a7180fa9f0a183657f 100644 (file)
@@ -927,7 +927,7 @@ OpalSetLockingSpAuthorityEnabledAndPin(
     if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) {\r
       DEBUG ((DEBUG_INFO, "Update ACE for GLOBALRANGE_GENKEY failed\n"));\r
       //\r
-      // TODO do we want to disable user1 if all permissions are not granted\r
+      // Disable user1 if all permissions are not granted.\r
       //\r
       return TcgResultFailure;\r
     }\r
@@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
 /**\r
 \r
   The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.\r
-  This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns\r
+  This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns\r
   (not ReadLockEnabled and WriteLockEnabled columns).\r
 \r
   @param[in]      LockingSpSession    OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key\r