[edk2-devel] [PATCH V1 1/1] RedfishPkg:Fix various typos

zhoucheng zhoucheng at phytium.com.cn
Tue Sep 7 02:17:47 UTC 2021


Fix various typos in comments and documentation.

Signed-off-by: Cheng Zhou <zhoucheng at phytium.com.cn>
Reviewed-by: Nickle Wang <nickle.wang at hpe.com>
Cc: Abner Chang <abner.chang at hpe.com>
---
 RedfishPkg/Include/Library/RedfishHostInterfaceLib.h         | 2 +-
 RedfishPkg/RedfishRestExDxe/RedfishRestExInternal.h          | 2 +-
 RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.c       | 2 +-
 RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c | 4 ++--
 RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c              | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h b/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h
index fe37b2739a73..ad134e8f9b06 100644
--- a/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h
+++ b/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h
@@ -40,7 +40,7 @@ RedfishPlatformHostInterfaceDeviceDescriptor (
                                   this function using FreePool().
   param[in] IndexOfProtocolData   The index of protocol data.
 
-  @retval EFI_SUCESS      Protocol records are all returned.
+  @retval EFI_SUCCESS     Protocol records are all returned.
   @retval EFI_NOT_FOUND   No more protocol records.
   @retval Others          Fail to get protocol records.
 **/
diff --git a/RedfishPkg/RedfishRestExDxe/RedfishRestExInternal.h b/RedfishPkg/RedfishRestExDxe/RedfishRestExInternal.h
index a75985928ce2..b91bf39fdaa1 100644
--- a/RedfishPkg/RedfishRestExDxe/RedfishRestExInternal.h
+++ b/RedfishPkg/RedfishRestExDxe/RedfishRestExInternal.h
@@ -41,7 +41,7 @@
                                 REST service.
   @param[in]  HttpReceiveEfiStatus  This is the status return from HttpIoRecvResponse
 
-  @retval EFI_SUCCESS           The payload receive from Redfish service in sucessfully.
+  @retval EFI_SUCCESS           The payload receive from Redfish service in successfully.
   @retval EFI_NOT_READY         May need to resend the HTTP request.
   @retval EFI_DEVICE_ERROR      Something wrong and can't be resolved.
   @retval Others                Other errors as indicated.
diff --git a/RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.c b/RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.c
index f48d1d011c80..0c6891ce9c0e 100644
--- a/RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.c
+++ b/RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.c
@@ -129,7 +129,7 @@ RedfishCredentialStopService (
   @param ImageHandle     Image handle this driver.
   @param SystemTable     Pointer to SystemTable.
 
-  @retval EFI_SUCESS     This function always complete successfully.
+  @retval EFI_SUCCESS    This function always complete successfully.
 
 **/
 EFI_STATUS
diff --git a/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c b/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c
index ec7faefed789..531f44ef030b 100644
--- a/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c
+++ b/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c
@@ -24,7 +24,7 @@
 /**
   Create SMBIOS type 42 record for Redfish host interface.
 
-  @retval EFI_SUCESS     SMBIOS type 42 record is created.
+  @retval EFI_SUCCESS    SMBIOS type 42 record is created.
   @retval Others         Fail to create SMBIOS 42 record.
 
 **/
@@ -226,7 +226,7 @@ ON_EXIT:
   @param ImageHandle     Image handle this driver.
   @param SystemTable     Pointer to SystemTable.
 
-  @retval EFI_SUCESS     This function always complete successfully.
+  @retval EFI_SUCCESS    This function always complete successfully.
 
 **/
 EFI_STATUS
diff --git a/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c b/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c
index 006b64adc03a..18d8811f69c6 100644
--- a/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c
+++ b/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c
@@ -47,7 +47,7 @@ ResetHttpTslSession (
                                    REST service.
   @param[in]  HttpIoReceiveStatus  This is the status return from HttpIoRecvResponse
 
-  @retval EFI_SUCCESS           The payload receive from Redfish service in sucessfully.
+  @retval EFI_SUCCESS           The payload receive from Redfish service in successfully.
   @retval EFI_NOT_READY         May need to resend the HTTP request.
   @retval EFI_DEVICE_ERROR      Something wrong and can't be resolved.
   @retval Others                Other errors as indicated.
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80306): https://edk2.groups.io/g/devel/message/80306
Mute This Topic: https://groups.io/mt/85427700/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list