RedfishPkg/PlatformHostInterfaceBmcUsbNicLib: Fix DEBUG macro args

Some macros added have a mismatched number of  print specifiers to
arguments.

Cc: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
This commit is contained in:
Michael Kubacki 2023-08-11 19:18:21 -04:00 committed by mergify[bot]
parent 408e463135
commit 6f0729484f
1 changed files with 4 additions and 4 deletions

View File

@ -65,10 +65,10 @@ ProbeRedfishCredentialBootstrap (
(ResponseData.CompletionCode == REDFISH_IPMI_COMP_CODE_BOOTSTRAP_CREDENTIAL_DISABLED) (ResponseData.CompletionCode == REDFISH_IPMI_COMP_CODE_BOOTSTRAP_CREDENTIAL_DISABLED)
)) ))
{ {
DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credentail Bootstrapping is supported\n", __func__)); DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credential Bootstrapping is supported\n"));
ReturnBool = TRUE; ReturnBool = TRUE;
} else { } else {
DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credentail Bootstrapping is not supported\n", __func__)); DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, " Redfish Credential Bootstrapping is not supported\n"));
ReturnBool = FALSE; ReturnBool = FALSE;
} }
@ -645,7 +645,7 @@ HostInterfaceIpmiCheckMacAddress (
&ResponseDataSize &ResponseDataSize
); );
if (EFI_ERROR (Status)) { 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; continue;
} }
@ -1084,7 +1084,7 @@ CheckBmcUsbNicOnHandles (
(VOID **)&DevicePath (VOID **)&DevicePath
); );
if (EFI_ERROR (Status)) { 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", Index));
continue; continue;
} }