From nobody Mon Feb 9 19:07:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+110147+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110147+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1698364442; cv=none; d=zohomail.com; s=zohoarc; b=BqTCWmIpji3p/QYvor2eso9fQ09Uavxc5LwaNINOICLZqq9NUQhwpfNxqvUk1Jw5qbXlgB+NSk0Yn7huPDwpUVHvPS25FSXCHH6KsJesnjM7qUB2rzJGgensl5DJaBH6q3FFak5KUYDbLIxw1ZDz8YRTiE+Bi0vFH/2NNuh7Dio= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698364442; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=SoNiThvW9bWsLwTdnI8/Ah+fzwi7Bt5lBBIWTuuLywQ=; b=V7oS4UF+qaf5wgEd1cN46Pk0YEnIq7i8bcRSFYjCcm7WRHsTkqAkhDkfEIklm0sX+n8DhPdl8f/vmVgNkWpK42bIoOgRtV2sJgTjX0bvkW8AdtNzvVI2rLzfsmenmdP7gJebB7h3NHwcz29Sa/qBzqnrECp5UDMNyETwpLo4iL4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110147+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1698364442122895.8591602123456; Thu, 26 Oct 2023 16:54:02 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=JsMEsc8l3ZzQE46xzz5zh1NYkhE7+vE4wn3FDIpZxXI=; 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=1698364441; v=1; b=NNwZmUSEn1M8NPA+MwEzlVQLpzdnLgUV2a9QwA6VSGKaqZ9Kq4U/CyKo4hycwAyoY4VoKIH1 DvxGu5Ye9I4J4TkU9m+7MMiC93QI5nFGnsjUbMgOiI7nxtJT2HCexYAfnfULPHnexYULKXEU4hW Vv2JMERDvwq1YFGcJ23Qzz60= X-Received: by 127.0.0.2 with SMTP id gF0DYY1788612x6rgIySSo7V; Thu, 26 Oct 2023 16:54:01 -0700 X-Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web11.86062.1698364440947999839 for ; Thu, 26 Oct 2023 16:54:01 -0700 X-Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5082a874098so12014e87.3 for ; Thu, 26 Oct 2023 16:54:00 -0700 (PDT) X-Gm-Message-State: lZ8y5soVlqK9UbqGXutZ9aHUx1787277AA= X-Google-Smtp-Source: AGHT+IHpXVIw5kBJxz1ehmunxSX7P/syGP0GGFwyjXKxDUsPWCqErKbiJtkriIFmSp/jmaUtTBi8ww== X-Received: by 2002:a05:6512:10cb:b0:507:aaa9:b080 with SMTP id k11-20020a05651210cb00b00507aaa9b080mr726626lfg.33.1698364438678; Thu, 26 Oct 2023 16:53:58 -0700 (PDT) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id u8-20020a056512040800b00507a8789b43sm39389lfk.269.2023.10.26.16.53.58 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 26 Oct 2023 16:53:58 -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] [edk2-redfish-client][PATCH v2 02/11] RedfishClientPkg: fix DEBUG macro arguments Date: Fri, 27 Oct 2023 02:53:45 +0300 Message-Id: <20231026235354.67625-3-mike.maslenkin@gmail.com> In-Reply-To: <20231026235354.67625-1-mike.maslenkin@gmail.com> References: <20231026235354.67625-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-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1698364443646100013 Content-Type: text/plain; charset="utf-8" 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)); } } 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)); } } =20 @@ -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"))); } } =20 @@ -585,7 +585,7 @@ ApplyFeatureSettingsVagueType ( DEBUG ((DEBUG_ERROR, "%a, apply %a to %a failed: %r\n", __func= __, ConfigureKeyLang, CurrentVagueValuePtr->Value->DataValue.CharPtr, Statu= s)); } } else { - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer, Status)= ); + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer)); } } else if (PropertyDatatype =3D=3D RedfishValueTypeBoolean) { // @@ -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)); } } else { - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? "Tru= e" : "False"), Status)); + DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: %a\n", __fu= nc__, Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? "Tru= e" : "False"))); } } else if (PropertyDatatype =3D=3D RedfishValueTypeInteger) { // @@ -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)); } } else { - DEBUG ((DEBUG_MANAGEABILITY, "%a, %a.%a %s value is: 0x%x\n", __= func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer, Stat= us)); + 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 da= ta type\n", __func__, Schema, Version, ConfigureLang)); --=20 2.32.0 (Apple Git-132) -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110147): https://edk2.groups.io/g/devel/message/110147 Mute This Topic: https://groups.io/mt/102211771/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-