public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-redfish-client][PATCH 2/9] RedfishClientPkg/RedfishAddendumLib: Fix build error
@ 2023-06-05 13:49 Nickle Wang
  0 siblings, 0 replies; only message in thread
From: Nickle Wang @ 2023-06-05 13:49 UTC (permalink / raw)
  To: devel; +Cc: Abner Chang, Igor Kulchytskyy

Rename ProvisioningCallback() to GetData() and
OemCallback() to GetOemData() and fix build error

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
---
 .../Library/RedfishAddendumLib/RedfishAddendumLib.c           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c b/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c
index 5eaada1e..59cf2743 100644
--- a/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c
+++ b/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c
@@ -129,7 +129,7 @@ RedfishGetAddendumData (
       continue;
     }
 
-    Status = Protocol->ProvisioningCallback (Protocol, &SchemaInfo, JsonValue);
+    Status = Protocol->GetData (Protocol, &SchemaInfo, JsonValue);
     if (!EFI_ERROR (Status)) {
       *JsonWithAddendum = JsonDumpString (JsonValue, EDKII_JSON_COMPACT);
       break;
@@ -232,7 +232,7 @@ RedfishGetOemData (
       continue;
     }
 
-    Status = Protocol->OemCallback (Protocol, &SchemaInfo, JsonValueOem);
+    Status = Protocol->GetOemData (Protocol, &SchemaInfo, JsonValueOem);
     if (!EFI_ERROR (Status)) {
       Status = JsonObjectSetValue (JsonValue, "Oem", JsonValueOem);
       if (!EFI_ERROR (Status)) {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-05 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05 13:49 [edk2-redfish-client][PATCH 2/9] RedfishClientPkg/RedfishAddendumLib: Fix build error Nickle Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox