From: Abner Chang <abner.ch...@amd.com> Temporary modified on the auto-generated lib to support Redfish BIOS attributes. RedfishScemaToCStructure python script needs to be updated for fixing this issue.
Signed-off-by: Abner Chang <abner.ch...@amd.com> Cc: Yang Atom <atom.y...@amd.com> Cc: Nick Ramirez <nrami...@nvidia.com> Cc: Nickle Wang <nic...@csie.io> Cc: Igor Kulchytskyy <ig...@ami.com> --- .../ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/RedfishClientPkg/ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c b/RedfishClientPkg/ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c index d698321886..1ec97db891 100644 --- a/RedfishClientPkg/ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c +++ b/RedfishClientPkg/ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c @@ -367,17 +367,17 @@ Error:; } static RedfishCS_status CS_To_JSON_Attributes(json_t *CsJson, char *Key, RedfishBios_V1_0_9_Attributes_CS *CSPtr) { - json_t *CsParentJson; + //json_t *CsParentJson; if (CSPtr == NULL) { return RedfishCS_status_success; } - CsParentJson = CsJson; - CsJson = json_object(); - if (CsJson == NULL) { - return RedfishCS_status_unsupported; - } + //CsParentJson = CsJson; + //CsJson = json_object(); + //if (CsJson == NULL) { + // return RedfishCS_status_unsupported; + //} // Check if this is RedfishCS_Type_CS_EmptyProp. CsEmptyPropLinkToJson(CsJson, Key, &CSPtr->Prop); -- 2.37.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92896): https://edk2.groups.io/g/devel/message/92896 Mute This Topic: https://groups.io/mt/93305218/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-