From: Shannon Zhao Date: Mon, 27 Jun 2016 14:37:32 +0000 (+0100) Subject: hw/intc/arm_gicv3: Add missing break X-Git-Tag: v2.7.0-rc0~93^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92b30c2f7d783e423f3d0093a14c88f4532c0de1;p=thirdparty%2Fqemu.git hw/intc/arm_gicv3: Add missing break These are spotted by coverity 1356936 and 1356937. Signed-off-by: Shannon Zhao Message-id: 1466387717-13740-1-git-send-email-zhaoshenglong@huawei.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/intc/arm_gicv3_cpuif.c b/hw/intc/arm_gicv3_cpuif.c index 5b2972ea9c5..4633172becd 100644 --- a/hw/intc/arm_gicv3_cpuif.c +++ b/hw/intc/arm_gicv3_cpuif.c @@ -975,6 +975,7 @@ static CPAccessResult gicv3_irqfiq_access(CPUARMState *env, if (!is_a64(env) && !arm_is_el3_or_mon(env)) { r = CP_ACCESS_TRAP_EL3; } + break; default: g_assert_not_reached(); } @@ -1006,6 +1007,7 @@ static CPAccessResult gicv3_fiq_access(CPUARMState *env, if (!is_a64(env) && !arm_is_el3_or_mon(env)) { r = CP_ACCESS_TRAP_EL3; } + break; default: g_assert_not_reached(); }