From c66b0866e8bef52ec25f86ac62bc3b67e6c140b1 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 28 Jun 2024 22:24:19 +0800 Subject: [PATCH] riscv_exception.c: Add missing comma in exception reasons array --- arch/risc-v/src/common/riscv_exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/risc-v/src/common/riscv_exception.c b/arch/risc-v/src/common/riscv_exception.c index a91967e96a..cefa6c03f9 100644 --- a/arch/risc-v/src/common/riscv_exception.c +++ b/arch/risc-v/src/common/riscv_exception.c @@ -75,7 +75,7 @@ static const char *g_reasons_str[RISCV_MAX_EXCEPTION + 1] = "Software check", #endif #if RISCV_MAX_EXCEPTION > 18 - "Hardware error" + "Hardware error", #endif #ifdef RISCV_CUSTOM_EXCEPTION_REASONS RISCV_CUSTOM_EXCEPTION_REASONS