arm-trusted-firmware/plat/common
Daniel Boulby a08a201430 Ensure the flow through switch statements is clear
Ensure case clauses:
*   Terminate with an unconditional break, return or goto statement.
*   Use conditional break, return or goto statements as long as the end
    of the case clause is unreachable; such case clauses must terminate
    with assert(0) /* Unreachable */ or an unconditional  __dead2 function
    call
*   Only fallthough when doing otherwise would result in less
    readable/maintainable code; such case clauses must terminate with a
    /* Fallthrough */ comment to make it clear this is the case and
    indicate that a fallthrough is intended.

This reduces the chance of bugs appearing due to unintended flow through a
switch statement

Change-Id: I70fc2d1f4fd679042397dec12fd1982976646168
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
2018-09-21 13:14:13 +01:00
..
aarch32 xlat v2: Support the EL2 translation regime 2018-08-10 13:47:11 +01:00
aarch64 RAS: Introduce handler for EL3 EAs 2018-07-19 10:13:18 +01:00
tbbr cert: move platform_oid.h to include/tools_share for all platforms 2017-05-24 00:08:35 +09:00
plat_bl1_common.c Fix some violations to MISRA rule 8.3 2018-07-11 17:33:29 +02:00
plat_bl_common.c Prepare Mbed TLS drivers for shared heap 2018-09-04 10:32:06 +01:00
plat_gic.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_gicv2.c Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
plat_gicv3.c Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
plat_log_common.c Fix MISRA defects in log helpers 2018-08-30 16:22:52 +01:00
plat_psci_common.c PSCI: Fix MISRA defects in platform code 2018-07-24 09:12:16 +01:00