[PATCH] edk2-staging/RedfishClientPkg: Bug fix on RedfishFeatrueCoreDxe


Abner Chang
 

Action in StartupContext is not set properly.

Signed-off-by: Nickle Wang <nickle.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
---
RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
index 009475540f5..49e1cd6b60e 100644
--- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
+++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
@@ -357,6 +357,7 @@ RedfishFeatureCoreEntryPoint (

ZeroMem ((VOID *)&mFeatureDriverStartupContext, sizeof (REDFISH_FEATURE_STARTUP_CONTEXT));
mFeatureDriverStartupContext.This = &mRedfishFeatureProtocol;
+ mFeatureDriverStartupContext.Action = CallbackActionStartOperation;

Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL,
--
2.21.0.windows.1


Abner Chang
 

This patch set is sent in behalf of Nickle Wang.

Reviewed-by: Abner Chang <abner.chang@hpe.com>

-----Original Message-----
From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
Abner Chang
Sent: Wednesday, October 27, 2021 6:30 PM
To: devel@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@hpe.com>; Liming Gao
<gaoliming@byosoft.com.cn>
Subject: [edk2-devel] [PATCH] edk2-staging/RedfishClientPkg: Bug fix on
RedfishFeatrueCoreDxe

Action in StartupContext is not set properly.

Signed-off-by: Nickle Wang <nickle.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
---
RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 1 +
1 file changed, 1 insertion(+)

diff --git
a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
index 009475540f5..49e1cd6b60e 100644
--- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
+++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
@@ -357,6 +357,7 @@ RedfishFeatureCoreEntryPoint (

ZeroMem ((VOID *)&mFeatureDriverStartupContext, sizeof
(REDFISH_FEATURE_STARTUP_CONTEXT));
mFeatureDriverStartupContext.This = &mRedfishFeatureProtocol;
+ mFeatureDriverStartupContext.Action = CallbackActionStartOperation;

Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL,
--
2.21.0.windows.1