summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorLendacky, Thomas <thomas.lendacky@amd.com>2021-05-13 10:26:56 -0500
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-05-14 11:26:17 +0000
commit32928415e36b3e234efb5c24143e06060a68fba3 (patch)
tree67e5c2f1f434b5b531031c5a002b512d7bb5a209 /UefiCpuPkg
parentd82c4693f8d5c6b05f40ccf351c84645201067c1 (diff)
downloadedk2-32928415e36b3e234efb5c24143e06060a68fba3.tar.gz
edk2-32928415e36b3e234efb5c24143e06060a68fba3.tar.bz2
edk2-32928415e36b3e234efb5c24143e06060a68fba3.zip
UefiCpuPkg/CpuExceptionHandler: Add missing comma to exception name array
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3373 An update to expand the mExceptionNameStr array failed to add a comma after original last entry, therefore causing the #CP name to have extra incorrect characters and the remaining entries to be indexed incorrectly (off by 1). Add a comma after the "#CP" entry to resolve this issue. Fixes: 5277540e37e88a1a69f9517c4ad895051b4b3ed3 Cc: Allen Wynn <Allen_Wynn@Dell.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Message-Id: <40e55bf6563ed8ea4962a1219efbe1ab77a56cc4.1620919615.git.thomas.lendacky@amd.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c
index c9003b10e5..49d0041e2f 100644
--- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c
+++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c
@@ -44,7 +44,7 @@ CONST CHAR8 *mExceptionNameStr[] = {
"#MC - Machine-Check",
"#XM - SIMD floating-point",
"#VE - Virtualization",
- "#CP - Control Protection"
+ "#CP - Control Protection",
"Reserved",
"Reserved",
"Reserved",