From c75f2d811933051c991d71f39aa94b43063ec479 Mon Sep 17 00:00:00 2001 From: Richard Spiegel Date: Fri, 14 Sep 2018 08:27:50 -0700 Subject: arch/x86/acpi_bert_storage.c: Fix coverity error CID 1395706 There are 8 possible BERT context errors, with table ctx_names being a table to print their names. Thus the table is supposed to have 8 elements, and indeed it has 8 lines... but some lines are missing commas, and when compiling it becomes a 5 element table. Add the commas at the appropriate places. BUG=b:115719190 TEST=none. Change-Id: I04a2c82a25fe5f334637053ef81fa6daffb5b9c5 Signed-off-by: Richard Spiegel Reviewed-on: https://review.coreboot.org/28607 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson Reviewed-by: Daniel Kurtz --- src/arch/x86/acpi_bert_storage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/arch/x86/acpi_bert_storage.c') diff --git a/src/arch/x86/acpi_bert_storage.c b/src/arch/x86/acpi_bert_storage.c index 82ecc5f59f..961faa6118 100644 --- a/src/arch/x86/acpi_bert_storage.c +++ b/src/arch/x86/acpi_bert_storage.c @@ -311,9 +311,9 @@ cper_ia32x64_context_t *new_cper_ia32x64_ctx( "MSR Registers", "32-bit Mode Execution", "64-bit Mode Execution", - "FXSAVE" - "32-bit Mode Debug" - "64-bit Mode Debug" + "FXSAVE", + "32-bit Mode Debug", + "64-bit Mode Debug", "Memory Mapped" }; -- cgit v1.2.3