From 9dc30f8decab8e5b1b12d068d938293f81996e58 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 13 Jun 2025 07:52:31 -0400 Subject: [PATCH] x86: mmu: add missing break statement in flags_to_entry function Add missing break in switch statement. Signed-off-by: Anas Nashif --- arch/x86/core/x86_mmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/core/x86_mmu.c b/arch/x86/core/x86_mmu.c index e4188b8670f..b2458d02767 100644 --- a/arch/x86/core/x86_mmu.c +++ b/arch/x86/core/x86_mmu.c @@ -1267,6 +1267,7 @@ static pentry_t flags_to_entry(uint32_t flags) break; default: __ASSERT(false, "bad memory mapping flags 0x%x", flags); + break; } if ((flags & K_MEM_PERM_RW) != 0U) {