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 84E4E7803CD for ; Mon, 14 Aug 2023 20:49:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=uCp+Leib6enSJnohXEK/JMjdrFE+ZCGop3J/Dt+Xxqs=; 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=lhhPEW4Jg9E5T9wFESolDFQMT4gXGoWaJU+7CVOJOOhcZ29M16dQT2rN0ZaNNNouf7bIOfnm Wa5d12Y5ozJEBQyrlcHvxPMPOc8RmVn+fwuB/0AEwHDGCwUpcPBGF7iW0h+k6vswz7m/5bqkFn3 k/rdNLVvLkm7p6cb9rqeUqZA= X-Received: by 127.0.0.2 with SMTP id JUDMYY7687511x5iXzXre4yN; 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: 3esDnEghaHWWwq9hE0eMesidx7686176AA= 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=lhhPEW4J; 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.41.0.windows.3 -=-=-=-=-=-=-=-=-=-=-=- 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/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-