From nobody Mon Sep 16 19:00:09 2024 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+108601+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+108601+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1694624866; cv=none; d=zohomail.com; s=zohoarc; b=mSrh03GhxjUQtr85qilIIjljM2zwaXAvQZyzgrYRjrNLQNHtE4kydgHIcbtMhfeZoDy5ULAHqGiaYbLdUyP/4Fk7ETHTgIZ5h+qs4C7m5xRNPpqZIA5H/fsdw012srsXHFOmlsZ03SLjAbBLaEl4SwA8l1CtrH3SIUml7gNLjNs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694624866; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=SsL4TdF8dcLxH4BcSwBiglmqSyoM2K5bpNuJFBb2DpE=; b=bCYSobnvf73GaUYjgdsq1RtxWChwNqvj2Ga+EisINoatPU7vLVIDSrax4VJsW3q0RsvXxt/N5Lv+uXaOkttL9GfPRQHNcBKyxpGQ+/JHZiB4AWvMbbdcRAA8jwak0cz0FY1khOHogu901bAQBnK9st7sde2VBouw6bASvh/mCPo= 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+108601+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 1694624866121481.3726487785441; Wed, 13 Sep 2023 10:07:46 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=uXpetsPKPT9QJtHPI/Z/nsi9vDM9MRxu7OL3CnYdra0=; c=relaxed/simple; d=groups.io; h=DKIM-Filter: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=1694624865; v=1; b=dFlvRqtyb2Kj6Y9dBAqYVVMuSUt/A4wnrPnSvdlK+33Lis58RTeNBNNJMQlKG6TDFDYPT607 cXEx6UOldk3rDIGHJ2FKNy5Kztjr1SQ9sX4/a62TN/wwERiXIZcbTL3h0nD8xRuuIEQvLlm7ZMj vs8oi4w2BRIJSAPOChHrpQgA= X-Received: by 127.0.0.2 with SMTP id nUEMYY1788612xMfWP7pTxID; Wed, 13 Sep 2023 10:07:45 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.2516.1694624855227420103 for ; Wed, 13 Sep 2023 10:07:35 -0700 X-Received: from gem-name-lb-02.localdomain (unknown [47.201.241.95]) by linux.microsoft.com (Postfix) with ESMTPSA id 52254212BC1B; Wed, 13 Sep 2023 10:07:34 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 52254212BC1B From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Abner Chang , Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH v2 1/7] RedfishPkg/PlatformHostInterfaceBmcUsbNicLib: Fix DEBUG macro args Date: Wed, 13 Sep 2023 13:06:09 -0400 Message-ID: <20230913170617.429-2-mikuback@linux.microsoft.com> In-Reply-To: <20230913170617.429-1-mikuback@linux.microsoft.com> References: <20230913170617.429-1-mikuback@linux.microsoft.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,mikuback@linux.microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: smjkDY5HzRMdSdMGEZpPUFTpx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1694624867469100003 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki Some macros added have a mismatched number of print specifiers to arguments. Cc: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy Signed-off-by: Michael Kubacki Reviewed-by: Abner Chang --- RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterface= BmcUsbNicLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformH= ostInterfaceBmcUsbNicLib.c b/RedfishPkg/Library/PlatformHostInterfaceBmcUsb= NicLib/PlatformHostInterfaceBmcUsbNicLib.c index d18d83b93808..95900579118b 100644 --- a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInte= rfaceBmcUsbNicLib.c +++ b/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInte= rfaceBmcUsbNicLib.c @@ -65,10 +65,10 @@ ProbeRedfishCredentialBootstrap ( (ResponseData.CompletionCode =3D=3D REDFISH_IPMI_COMP_CODE_BOOTSTRA= P_CREDENTIAL_DISABLED) )) { - DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credentail Bootstra= pping is supported\n", __func__)); + DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credential Bootstra= pping is supported\n")); ReturnBool =3D TRUE; } else { - DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credentail Bootstra= pping is not supported\n", __func__)); + DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credential Bootstra= pping is not supported\n")); ReturnBool =3D FALSE; } =20 @@ -645,7 +645,7 @@ HostInterfaceIpmiCheckMacAddress ( &ResponseDataS= ize ); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, " - Fails to send command.\n", ChannelNum)= ); + DEBUG ((DEBUG_ERROR, " - Channel %d fails to send command.\n", = ChannelNum)); continue; } =20 @@ -1084,7 +1084,7 @@ CheckBmcUsbNicOnHandles ( (VOID **)&DevicePath ); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, " Failed to locate SNP on %d handle.\n", __f= unc__, Index)); + DEBUG ((DEBUG_ERROR, " Failed to locate SNP on %d handle.\n", Ind= ex)); continue; } =20 --=20 2.42.0.windows.2 -=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 (#108601): https://edk2.groups.io/g/devel/message/108601 Mute This Topic: https://groups.io/mt/101341647/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-