SecurityPkg: Fix spelling errors
https://bugzilla.tianocore.org/show_bug.cgi?id=2265 Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
committed by
Michael D Kinney
parent
6e7e9b9578
commit
d6b926e76e
@@ -11,7 +11,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#include <Library/TcgStorageOpalLib.h>
|
||||
#include "TcgStorageOpalLibInternal.h"
|
||||
|
||||
#define OPAL_MSID_LENGHT 128
|
||||
#define OPAL_MSID_LENGTH 128
|
||||
|
||||
/**
|
||||
Creates a session with OPAL_UID_ADMIN_SP as OPAL_ADMIN_SP_PSID_AUTHORITY, then reverts device using Admin SP Revert method.
|
||||
@@ -1095,7 +1095,7 @@ GetRevertTimeOut (
|
||||
OPAL_DISK_SUPPORT_ATTRIBUTE SupportedAttributes;
|
||||
UINT16 BaseComId;
|
||||
UINT32 MsidLength;
|
||||
UINT8 Msid[OPAL_MSID_LENGHT];
|
||||
UINT8 Msid[OPAL_MSID_LENGTH];
|
||||
UINT32 RemovalMechanishLists[ResearvedMechanism];
|
||||
UINT8 ActiveDataRemovalMechanism;
|
||||
|
||||
@@ -1104,7 +1104,7 @@ GetRevertTimeOut (
|
||||
return 0;
|
||||
}
|
||||
|
||||
TcgResult = OpalUtilGetMsid (Session, Msid, OPAL_MSID_LENGHT, &MsidLength);
|
||||
TcgResult = OpalUtilGetMsid (Session, Msid, OPAL_MSID_LENGTH, &MsidLength);
|
||||
if (TcgResult != TcgResultSuccess) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user