[edk2-devel] [PATCH edk2-platforms 1/1] Silicon/Ampere: Fix parameter mismatch in DEBUG_ERROR message
Rebecca Cran
rebecca at bsdio.com
Mon Aug 7 01:55:46 UTC 2023
There's an extra format specifier in the DEBUG_ERROR message that
gets printed when the PCIe link check fails. This causes a
synchronous exception. Remove the string format specifier.
Signed-off-by: Rebecca Cran <rebecca at bsdio.com>
---
Silicon/Ampere/AmpereAltraPkg/Library/Ac01PcieLib/PcieCore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Silicon/Ampere/AmpereAltraPkg/Library/Ac01PcieLib/PcieCore.c b/Silicon/Ampere/AmpereAltraPkg/Library/Ac01PcieLib/PcieCore.c
index 94eb9e27d203..3c1fe5e35ca2 100644
--- a/Silicon/Ampere/AmpereAltraPkg/Library/Ac01PcieLib/PcieCore.c
+++ b/Silicon/Ampere/AmpereAltraPkg/Library/Ac01PcieLib/PcieCore.c
@@ -1405,7 +1405,7 @@ PFACounterRead (
Ret = LINK_CHECK_FAILED;
DEBUG ((
DEBUG_ERROR,
- "\tSocket%d RootComplex%d RP%d \t%s: %d \tGROUP:%d-EVENT:%d\n",
+ "\tSocket%d RootComplex%d RP%d \t: %d \tGROUP:%d-EVENT:%d\n",
RootComplex->Socket,
RootComplex->ID,
PcieIndex,
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107605): https://edk2.groups.io/g/devel/message/107605
Mute This Topic: https://groups.io/mt/100592555/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list