hw/intc/arm_gicv3: Add missing break
These are spotted by coverity 1356936 and 1356937. Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Message-id: 1466387717-13740-1-git-send-email-zhaoshenglong@huawei.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
aa8151b7df
commit
92b30c2f7d
@ -975,6 +975,7 @@ static CPAccessResult gicv3_irqfiq_access(CPUARMState *env,
|
|||||||
if (!is_a64(env) && !arm_is_el3_or_mon(env)) {
|
if (!is_a64(env) && !arm_is_el3_or_mon(env)) {
|
||||||
r = CP_ACCESS_TRAP_EL3;
|
r = CP_ACCESS_TRAP_EL3;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached();
|
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)) {
|
if (!is_a64(env) && !arm_is_el3_or_mon(env)) {
|
||||||
r = CP_ACCESS_TRAP_EL3;
|
r = CP_ACCESS_TRAP_EL3;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user