[edk2-devel] [PATCH v2] RedfishPkg/RestJsonStructureDxe: Fix typo in function header

Abner Chang posted 1 patch 1 month ago
Failed in applying to current master (apply log)
MdePkg/Include/Protocol/RestJsonStructure.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[edk2-devel] [PATCH v2] RedfishPkg/RestJsonStructureDxe: Fix typo in function header

Posted by Abner Chang 1 month ago
In v2, BZ reference is added.

BZ#:3030
Fix the typo [in]/[out] of parameter DestroyStructure in
function header.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
---
 MdePkg/Include/Protocol/RestJsonStructure.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Include/Protocol/RestJsonStructure.h b/MdePkg/Include/Protocol/RestJsonStructure.h
index c9e9a35a41..ea3c4a62a9 100644
--- a/MdePkg/Include/Protocol/RestJsonStructure.h
+++ b/MdePkg/Include/Protocol/RestJsonStructure.h
@@ -132,7 +132,7 @@ EFI_STATUS
                                          supports.
   @param[in]    ToStructure              The function to convert REST JSON resource to structure.
   @param[in]    ToJson                   The function to convert REST JSON structure to JSON in text format.
-  @param[out]    DestroyStructure         Destroy REST JSON structure returned in ToStructure() function.
+  @param[in]    DestroyStructure         Destroy REST JSON structure returned in ToStructure() function.
 
   @retval EFI_SUCCESS             Register successfully.
   @retval Others                  Fail to register.
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74113): https://edk2.groups.io/g/devel/message/74113
Mute This Topic: https://groups.io/mt/82111117/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2] RedfishPkg/RestJsonStructureDxe: Fix typo in function header

Posted by Nickle Wang 1 month ago
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>

Nickle

-----Original Message-----
From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com> 
Sent: Thursday, April 15, 2021 1:37 PM
To: devel@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@hpe.com>
Subject: [PATCH v2] RedfishPkg/RestJsonStructureDxe: Fix typo in function header

In v2, BZ reference is added.

BZ#:3030
Fix the typo [in]/[out] of parameter DestroyStructure in function header.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
---
 MdePkg/Include/Protocol/RestJsonStructure.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Include/Protocol/RestJsonStructure.h b/MdePkg/Include/Protocol/RestJsonStructure.h
index c9e9a35a41..ea3c4a62a9 100644
--- a/MdePkg/Include/Protocol/RestJsonStructure.h
+++ b/MdePkg/Include/Protocol/RestJsonStructure.h
@@ -132,7 +132,7 @@ EFI_STATUS
                                          supports.
   @param[in]    ToStructure              The function to convert REST JSON resource to structure.
   @param[in]    ToJson                   The function to convert REST JSON structure to JSON in text format.
-  @param[out]    DestroyStructure         Destroy REST JSON structure returned in ToStructure() function.
+  @param[in]    DestroyStructure         Destroy REST JSON structure returned in ToStructure() function.
 
   @retval EFI_SUCCESS             Register successfully.
   @retval Others                  Fail to register.
--
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74116): https://edk2.groups.io/g/devel/message/74116
Mute This Topic: https://groups.io/mt/82111117/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-