From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 4D654D80144 for ; Fri, 29 Sep 2023 21:59:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=EA6tXgJv2xahWfZXyhzWyu9ni9i/S6Ot54vuC6kcGHM=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696024763; v=1; b=d96FVwBirGEFbWjNzm6sul0wfzHFxdYQ5KZlKtZaixLW9YOWDb59M1FLSpZr50C/pSgtha4H uSTUDwUjxKJNNoSBa1T741KdJ1UA51JVJ/RP/+uAwjVh4fPzFmMcUIJHA5fixSfLU29pimKZWmq UL/JpqR67DOLsaegLDI7wWlc= X-Received: by 127.0.0.2 with SMTP id zrodYY7687511xjdkxOzCAMj; Fri, 29 Sep 2023 14:59:23 -0700 X-Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web11.30207.1696024762974325563 for ; Fri, 29 Sep 2023 14:59:23 -0700 X-Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2c012232792so239601901fa.0 for ; Fri, 29 Sep 2023 14:59:22 -0700 (PDT) X-Gm-Message-State: K9ssWsGmOaufo3ctzgUsNxnkx7686176AA= X-Google-Smtp-Source: AGHT+IGNXRsEXd5BPyqfCZc3CyIE05sFfBVkiQyvGT7w8V98WHol1JUIcSynmvBGe0jXWUq0bTkt8Q== X-Received: by 2002:a2e:7213:0:b0:2bd:d34:d98a with SMTP id n19-20020a2e7213000000b002bd0d34d98amr4723469ljc.44.1696024760905; Fri, 29 Sep 2023 14:59:20 -0700 (PDT) X-Received: from localhost.localdomain ([185.9.78.108]) by smtp.gmail.com with ESMTPSA id y24-20020a2ebb98000000b002bfe8537f37sm890178lje.33.2023.09.29.14.59.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 29 Sep 2023 14:59:20 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 2/9] RedfishClientPkg: fix DEBUG macro arguments Date: Sat, 30 Sep 2023 00:59:08 +0300 Message-Id: <20230929215915.46616-3-mike.maslenkin@gmail.com> In-Reply-To: <20230929215915.46616-1-mike.maslenkin@gmail.com> References: <20230929215915.46616-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=d96FVwBi; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) Signed-off-by: Mike Maslenkin --- .../RedfishFeatureUtilityLib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatu= reUtilityLib.c b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishF= eatureUtilityLib.c index 1e5c3f110de6..35e342c817b7 100644 --- a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtili= tyLib.c +++ b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtili= tyLib.c @@ -332,7 +332,7 @@ ApplyFeatureSettingsStringType ( DEBUG ((DEBUG_ERROR, "%a, apply %s to %s failed: %r\n", __func__, = ConfigureLang, FeatureValue, Status));=0D }=0D } else {=0D - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %s\n", __func__, Schema= , Version, ConfigureLang, RedfishValue.Value.Buffer, Status));=0D + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, Schema= , Version, ConfigureLang, RedfishValue.Value.Buffer));=0D }=0D }=0D =0D @@ -462,7 +462,7 @@ ApplyFeatureSettingsBooleanType ( DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", __func__, = ConfigureLang, (FeatureValue ? "True" : "False"), Status));=0D }=0D } else {=0D - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, Schema= , Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : "False"), = Status));=0D + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, Schema= , Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : "False")))= ;=0D }=0D }=0D =0D @@ -585,7 +585,7 @@ ApplyFeatureSettingsVagueType ( DEBUG ((DEBUG_ERROR, "%a, apply %a to %a failed: %r\n", __func= __, ConfigureKeyLang, CurrentVagueValuePtr->Value->DataValue.CharPtr, Statu= s));=0D }=0D } else {=0D - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer, Status)= );=0D + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer));=0D }=0D } else if (PropertyDatatype =3D=3D RedfishValueTypeBoolean) {=0D //=0D @@ -617,7 +617,7 @@ ApplyFeatureSettingsVagueType ( DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", __func= __, ConfigureKeyLang, (*CurrentVagueValuePtr->Value->DataValue.BoolPtr ? "T= rue" : "False"), Status));=0D }=0D } else {=0D - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? "Tru= e" : "False"), Status));=0D + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? "Tru= e" : "False")));=0D }=0D } else if (PropertyDatatype =3D=3D RedfishValueTypeInteger) {=0D //=0D @@ -640,7 +640,7 @@ ApplyFeatureSettingsVagueType ( DEBUG ((DEBUG_ERROR, "%a, apply %s to 0x%x failed: %r\n", __fu= nc__, ConfigureKeyLang, *CurrentVagueValuePtr->Value->DataValue.Int64Ptr, S= tatus));=0D }=0D } else {=0D - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: 0x%x\n", __= func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer, Stat= us));=0D + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: 0x%x\n", __= func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer));=0D }=0D } else {=0D DEBUG ((DEBUG_ERROR, "%a, %a.%a %s Unsupported Redfish property da= ta type\n", __func__, Schema, Version, ConfigureLang));=0D --=20 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109218): https://edk2.groups.io/g/devel/message/109218 Mute This Topic: https://groups.io/mt/101667461/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-