arm-trusted-firmware/plat
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
..
allwinner allwinner: implement system power down on H6 w/ AXP805 2018-09-07 23:20:17 +08:00
arm Merge pull request #1569 from soby-mathew/sm/cov_fix_scmi 2018-09-10 12:44:56 +01:00
common Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
compat Do not enable SVE on pre-v8.2 platforms 2017-11-30 17:45:23 +00:00
hisilicon hikey960: Add development TBB support 2018-09-09 08:02:50 -04:00
imx warp7: Add warp7 platform to the build 2018-09-04 14:18:31 +01:00
layerscape Fix MISRA defects in BL31 common code 2018-08-30 09:22:33 +01:00
marvell drivers: mentor: extract MI2CV driver from Marvell driver 2018-09-05 22:43:38 +08:00
mediatek PSCI: Fix types of definitions 2018-07-20 13:49:22 +01:00
nvidia/tegra libc: Fix all includes in codebase 2018-08-22 10:26:05 +01:00
qemu plat: qemu: update the early platform setup API 2018-09-04 15:20:26 +02:00
rockchip Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
rpi3 libc: Fix all includes in codebase 2018-08-22 10:26:05 +01:00
socionext Fix MISRA defects in BL31 common code 2018-08-30 09:22:33 +01:00
st/stm32mp1 layerscape: stm32mp1: Migrate to enable_mmu_svc_mon() 2018-08-10 13:47:37 +01:00
ti/k3 ti: k3: common: Add basic PSCI core off support 2018-08-31 09:23:21 -05:00
xilinx/zynqmp Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00