From 3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Tue, 13 Mar 2018 17:45:42 +0000 Subject: lib: fix switch statements to comply with MISRA rules Ensure (where possible) that switch statements in lib comply with MISRA rules 16.1 - 16.7. Change-Id: I52bc896fb7094d2b7569285686ee89f39f1ddd84 Signed-off-by: Jonathan Wright --- lib/psci/psci_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/psci/psci_main.c') diff --git a/lib/psci/psci_main.c b/lib/psci/psci_main.c index d25d1775..607d0cd5 100644 --- a/lib/psci/psci_main.c +++ b/lib/psci/psci_main.c @@ -414,10 +414,12 @@ u_register_t psci_smc_handler(uint32_t smc_fid, case PSCI_SYSTEM_OFF: psci_system_off(); /* We should never return from psci_system_off() */ + break; case PSCI_SYSTEM_RESET: psci_system_reset(); /* We should never return from psci_system_reset() */ + break; case PSCI_FEATURES: return psci_features(x1); -- cgit v1.2.3