From: "Nickle Wang" <nicklew@nvidia.com>
To: <devel@edk2.groups.io>
Cc: Abner Chang <abner.chang@amd.com>, Igor Kulchytskyy <igork@ami.com>
Subject: [edk2-redfish-client][PATCH v2 2/9] RedfishClientPkg/RedfishAddendumLib: Fix build error
Date: Tue, 6 Jun 2023 20:32:32 +0800 [thread overview]
Message-ID: <20230606123232.17241-1-nicklew@nvidia.com> (raw)
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
reply other threads:[~2023-06-06 12:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230606123232.17241-1-nicklew@nvidia.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox