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 264AB9417D8 for ; Wed, 13 Sep 2023 17:07:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=XbBF0Dd1bIHeFJeUI70Ws2kcWFt7tL+pLgJm2IwwWM0=; 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=1694624855; v=1; b=o/b6i2H9G6bl+mQymzb5McgtCmNFS9JhRQxKcB7SVqtJaWLUnyz9r4tx7TtEi70BBIuAYhGM R4LlSYbcUCLicr2SvI7yhiKVxKDhryFTUqx0N5y//GqJdjMc027XQrXDfDeYlV5QIYbkhlusVAV zRUGcg4Dwu1DGdKXLoP9tWWI= X-Received: by 127.0.0.2 with SMTP id cldRYY7687511xpNiVJVgnuL; Wed, 13 Sep 2023 10:07:35 -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: taNur06DQklpwTLcWPqPFsMDx7686176AA= 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="o/b6i2H9"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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/PlatformHostInterfa= ceBmcUsbNicLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/Platfor= mHostInterfaceBmcUsbNicLib.c b/RedfishPkg/Library/PlatformHostInterfaceBm= cUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c index d18d83b93808..95900579118b 100644 --- a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostIn= terfaceBmcUsbNicLib.c +++ b/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostIn= terfaceBmcUsbNicLib.c @@ -65,10 +65,10 @@ ProbeRedfishCredentialBootstrap ( (ResponseData.CompletionCode =3D=3D REDFISH_IPMI_COMP_CODE_BOOTST= RAP_CREDENTIAL_DISABLED) )) { - DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credentail Bootst= rapping is supported\n", __func__)); + DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credential Bootst= rapping is supported\n")); ReturnBool =3D TRUE; } else { - DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credentail Bootst= rapping is not supported\n", __func__)); + DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credential Bootst= rapping is not supported\n")); ReturnBool =3D FALSE; } =20 @@ -645,7 +645,7 @@ HostInterfaceIpmiCheckMacAddress ( &ResponseDat= aSize ); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, " - Fails to send command.\n", ChannelNu= m)); + 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", _= _func__, Index)); + DEBUG ((DEBUG_ERROR, " Failed to locate SNP on %d handle.\n", I= ndex)); continue; } =20 --=20 2.42.0.windows.2 -=-=-=-=-=-=-=-=-=-=-=- 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/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-