<div dir="ltr">Reviewed-by: 

Nickle Wang <<a href="mailto:nickle@csie.io" target="_blank">nickle@csie.io</a>><div><br></div><div>Thanks,</div><div>Nickle</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><<a href="mailto:abner.chang@amd.com">abner.chang@amd.com</a>> 於 2022年8月28日 週日 晚上7:30寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Abner Chang <<a href="mailto:abner.chang@amd.com" target="_blank">abner.chang@amd.com</a>><br>
<br>
Temporary modified on the auto-generated lib to support<br>
Redfish BIOS attributes. RedfishScemaToCStructure python<br>
script needs to be updated for fixing this issue.<br>
<br>
Signed-off-by: Abner Chang <<a href="mailto:abner.chang@amd.com" target="_blank">abner.chang@amd.com</a>><br>
Cc: Yang Atom <<a href="mailto:Atom.Yang@amd.com" target="_blank">Atom.Yang@amd.com</a>><br>
Cc: Nick Ramirez <<a href="mailto:nramirez@nvidia.com" target="_blank">nramirez@nvidia.com</a>><br>
Cc: Nickle Wang <<a href="mailto:nickle@csie.io" target="_blank">nickle@csie.io</a>><br>
Cc: Igor Kulchytskyy <<a href="mailto:igork@ami.com" target="_blank">igork@ami.com</a>><br>
---<br>
 .../ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c  | 12 ++++++------<br>
 1 file changed, 6 insertions(+), 6 deletions(-)<br>
<br>
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<br>
index d698321886..1ec97db891 100644<br>
--- a/RedfishClientPkg/ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c<br>
+++ b/RedfishClientPkg/ConverterLib/src/Bios/Bios.V1_0_9/Bios.V1_0_9.c<br>
@@ -367,17 +367,17 @@ Error:;<br>
 }<br>
 static RedfishCS_status CS_To_JSON_Attributes(json_t *CsJson, char *Key, RedfishBios_V1_0_9_Attributes_CS *CSPtr)<br>
 {<br>
-  json_t *CsParentJson;<br>
+  //json_t *CsParentJson;<br>
<br>
   if (CSPtr == NULL) {<br>
     return RedfishCS_status_success;<br>
   }<br>
<br>
-  CsParentJson = CsJson;<br>
-  CsJson = json_object();<br>
-  if (CsJson == NULL) {<br>
-    return RedfishCS_status_unsupported;<br>
-  }<br>
+  //CsParentJson = CsJson;<br>
+  //CsJson = json_object();<br>
+  //if (CsJson == NULL) {<br>
+  //  return RedfishCS_status_unsupported;<br>
+  //}<br>
<br>
   // Check if this is RedfishCS_Type_CS_EmptyProp.<br>
   CsEmptyPropLinkToJson(CsJson, Key, &CSPtr->Prop);<br>
-- <br>
2.37.1.windows.1<br>
<br>
</blockquote></div>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/92912">View/Reply Online (#92912)</a> |    |  <a target="_blank" href="https://groups.io/mt/93305218/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>