mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
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 <jonathan.wright@arm.com>
This commit is contained in:
parent
5aa7498abd
commit
3eacacc0ef
3 changed files with 6 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue