[AMD Official Use Only - General] Reviewed-by: Abner Chang <[email protected]>
> -----Original Message----- > From: Mike Maslenkin <[email protected]> > Sent: Saturday, September 30, 2023 5:59 AM > To: [email protected] > Cc: Chang, Abner <[email protected]>; [email protected]; > [email protected]; Mike Maslenkin <[email protected]> > Subject: [PATCH 2/9] RedfishClientPkg: fix DEBUG macro arguments > > Caution: This message originated from an External Source. Use proper caution > when opening attachments, clicking links, or responding. > > > Signed-off-by: Mike Maslenkin <[email protected]> > --- > .../RedfishFeatureUtilityLib.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git > a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib. > c > b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib. > c > index 1e5c3f110de6..35e342c817b7 100644 > --- > a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib. > c > +++ > b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtilityLib. > c > @@ -332,7 +332,7 @@ ApplyFeatureSettingsStringType ( > DEBUG ((DEBUG_ERROR, "%a, apply %s to %s failed: %r\n", __func__, > ConfigureLang, FeatureValue, Status)); > > } > > } else { > > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %s\n", __func__, > Schema, Version, ConfigureLang, RedfishValue.Value.Buffer, Status)); > > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, > Schema, Version, ConfigureLang, RedfishValue.Value.Buffer)); > > } > > } > > > > @@ -462,7 +462,7 @@ ApplyFeatureSettingsBooleanType ( > DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", __func__, > ConfigureLang, (FeatureValue ? "True" : "False"), Status)); > > } > > } else { > > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, > Schema, Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : > "False"), Status)); > > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, > Schema, Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : > "False"))); > > } > > } > > > > @@ -585,7 +585,7 @@ ApplyFeatureSettingsVagueType ( > DEBUG ((DEBUG_ERROR, "%a, apply %a to %a failed: %r\n", __func__, > ConfigureKeyLang, CurrentVagueValuePtr->Value->DataValue.CharPtr, > Status)); > > } > > } else { > > - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", > __func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer, > Status)); > > + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", > __func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer)); > > } > > } else if (PropertyDatatype == RedfishValueTypeBoolean) { > > // > > @@ -617,7 +617,7 @@ ApplyFeatureSettingsVagueType ( > DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", __func__, > ConfigureKeyLang, (*CurrentVagueValuePtr->Value->DataValue.BoolPtr ? > "True" : "False"), Status)); > > } > > } else { > > - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", > __func__, Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? > "True" : "False"), Status)); > > + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", > __func__, Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? > "True" : "False"))); > > } > > } else if (PropertyDatatype == RedfishValueTypeInteger) { > > // > > @@ -640,7 +640,7 @@ ApplyFeatureSettingsVagueType ( > DEBUG ((DEBUG_ERROR, "%a, apply %s to 0x%x failed: %r\n", > __func__, ConfigureKeyLang, *CurrentVagueValuePtr->Value- > >DataValue.Int64Ptr, Status)); > > } > > } else { > > - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: 0x%x\n", > __func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer, > Status)); > > + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: 0x%x\n", > __func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer)); > > } > > } else { > > DEBUG ((DEBUG_ERROR, "%a, %a.%a %s Unsupported Redfish property > data type\n", __func__, Schema, Version, ConfigureLang)); > > -- > 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109243): https://edk2.groups.io/g/devel/message/109243 Mute This Topic: https://groups.io/mt/101667461/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
