summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/Opal/OpalPassword
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:18 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commitdd40a1f85c846050ba9260d537f9f675b35d543c (patch)
tree80fd9e1991daff05edd860fcffdac6c42fbaa69c /SecurityPkg/Tcg/Opal/OpalPassword
parentf9fd0c21082aa764bdb61b6485046286f782a781 (diff)
downloadedk2-dd40a1f85c846050ba9260d537f9f675b35d543c.tar.gz
edk2-dd40a1f85c846050ba9260d537f9f675b35d543c.tar.bz2
edk2-dd40a1f85c846050ba9260d537f9f675b35d543c.zip
SecurityPkg/Tcg: Fix various typos
Fix various typos in documentation, comments and debug strings. 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: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-66-philmd@redhat.com> [lersek@redhat.com: replace EFI_D_xxx w/ DEBUG_xxx to shut up PatchCheck]
Diffstat (limited to 'SecurityPkg/Tcg/Opal/OpalPassword')
-rw-r--r--SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c2
-rw-r--r--SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c8
-rw-r--r--SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
index 6bec54b932..b5b6aec98c 100644
--- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
+++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
@@ -2583,7 +2583,7 @@ OpalDriverGetDriverDeviceName(
@param ImageHandle Image Handle this driver.
@param SystemTable Pointer to SystemTable.
- @retval EFI_SUCCESS This function always complete successfully.
+ @retval EFI_SUCCESS This function always complete successfully.
**/
EFI_STATUS
EFIAPI
diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
index ef117d3d03..211e75537a 100644
--- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
+++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
@@ -1110,7 +1110,7 @@ OpalHiiGetBrowserData (
Set a string Value in a form.
@param DestStringId The stringid which need to update.
- @param SrcAsciiStr The string nned to update.
+ @param SrcAsciiStr The string need to update.
@retval EFI_SUCCESS Do the required action success.
@retval Others Other error occur.
@@ -1164,7 +1164,7 @@ HiiSetFormString(
@param Dev The Opal device.
- @retval EFI_SUCCESS Initialize the device success.
+ @retval EFI_SUCCESS Initialize the device success.
@retval EFI_DEVICE_ERROR Get info from device failed.
**/
@@ -1220,7 +1220,7 @@ OpalDiskInitialize (
@param OpalDisk The Opal device.
- @retval EFI_SUCCESS Get ownership success.
+ @retval EFI_SUCCESS Get ownership success.
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
@@ -1254,7 +1254,7 @@ OpalDiskUpdateOwnerShip (
@param OpalDisk The Opal device.
- @retval EFI_SUCCESS Initialize the device success.
+ @retval EFI_SUCCESS Initialize the device success.
@retval EFI_DEVICE_ERROR Get info from device failed.
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.
diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h
index 0543a2ce49..557c1f8d68 100644
--- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h
+++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h
@@ -247,7 +247,7 @@ GetDiskNameStringId(
@param OpalDisk The Opal device.
- @retval EFI_SUCCESS Initialize the device success.
+ @retval EFI_SUCCESS Initialize the device success.
@retval EFI_DEVICE_ERROR Get info from device failed.
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
@@ -348,7 +348,7 @@ HiiUninstall(
@param Dev The Opal device.
- @retval EFI_SUCCESS Initialize the device success.
+ @retval EFI_SUCCESS Initialize the device success.
@retval EFI_DEVICE_ERROR Get info from device failed.
**/
@@ -362,7 +362,7 @@ OpalDiskInitialize (
@param OpalDisk The Opal device.
- @retval EFI_SUCCESS Get ownership success.
+ @retval EFI_SUCCESS Get ownership success.
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.