From nobody Thu Nov 14 07:04:59 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+107736+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+107736+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1692046183; cv=none; d=zohomail.com; s=zohoarc; b=NPnfItqtS5I0aEzV2Ss8lxeTfQAMgLmOaJu+g3agZTurL0LbJqL4SKPkICMOD24O7611tY57DLhwuCi09wQjhDSzhTdkt/KnInSs2VCq7OUC1yPL6k4kmlQHQb1SNdDAlcOybaZjvLQCy6gFmX0fqsWJI1cDBEPg0M+sM+EUmpA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692046183; 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=zjgQ32CfO3A9OH89wHKIR3sEjl4lmM7qbQTOjRr8KUU=; b=BaealvXRRXAahRZkDY8j5TkaP0HYePHt7ZK/tUedXvPunSSerC5IKkm71niL96Um9BCAy+7myS/fGxr/0Mjc9YMCIq8Uu+kvsDz+vO58NGqsK6r42xqtRTMW2N97pD0WOb/TiaGeyuSOzjtM09MNcMyLy0EMW+Ob7UiC24Tif9A= 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+107736+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 1692046183389119.05490944209316; Mon, 14 Aug 2023 13:49:43 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=PnTvyCwMVmDPuKjFSnjMQjfnflDVgB5ATPUKZ2ElfwE=; 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=1692046183; v=1; b=Ipm4tIGJAG+0K3aqL9jcJ5Ke4/fU2mAjz58fquJq4NOAFVjEtSRZmpkmBBKU1UCaR5dz9IOG UVVLjUPyaud39snP1WTSi8LZrUV42DCohgxUnUoaSD+iYasctnGiBE8sZKS3MoPwdi1ff1z09O7 8ldJfjbiC4nnn6f8kzUWirhc= X-Received: by 127.0.0.2 with SMTP id Cu03YY1788612xcOZNZe9B8N; Mon, 14 Aug 2023 13:49:43 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.118942.1692046182572593589 for ; Mon, 14 Aug 2023 13:49:42 -0700 X-Received: from localhost.localdomain (unknown [47.201.241.95]) by linux.microsoft.com (Postfix) with ESMTPSA id 909D42106720; Mon, 14 Aug 2023 13:49:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 909D42106720 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Abner Chang , Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH v1 1/7] RedfishPkg/PlatformHostInterfaceBmcUsbNicLib: Fix DEBUG macro args Date: Mon, 14 Aug 2023 16:48:52 -0400 Message-ID: <20230814204859.257-2-mikuback@linux.microsoft.com> In-Reply-To: <20230814204859.257-1-mikuback@linux.microsoft.com> References: <20230814204859.257-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: HTc9Gv4tfRAoQssTMpk86aSEx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1692046183983100001 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 --- 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.41.0.windows.3 -=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 (#107736): https://edk2.groups.io/g/devel/message/107736 Mute This Topic: https://groups.io/mt/100745695/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-