From cbdfef872beb095c5549f2005d917b0043492717 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@gentoo.org> Date: Thu, 21 Dec 2023 00:15:48 -0500 Subject: [PATCH] sim: ppc: phb: add missing break to address decoder I don't know what this emulation does exactly, but it missing a break statement seems kind of obvious based on the 32-bit case above it. --- sim/ppc/hw_phb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/ppc/hw_phb.c b/sim/ppc/hw_phb.c index ec1119ee7d9..06eb29fc5a7 100644 --- a/sim/ppc/hw_phb.c +++ b/sim/ppc/hw_phb.c @@ -652,6 +652,7 @@ hw_phb_unit_decode(device *me, && val != 0x10 && val != 0x18 && val != 0x20) device_error(me, "Register number (0x%lx) invalid in 64bit PCI address %s", val, unit); + break; case ss_config_code: device_error(me, "internal error"); }