arm-trusted-firmware/plat/rockchip/rk3399/drivers
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
..
dp Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
dram rockchip: Move stdint header to the offending header file 2018-06-13 20:37:50 +02:00
gpio rockchip/rk3399: save and restore pd_alive register 2017-08-29 15:00:40 +08:00
m0 rockchip/rk3399: Split M0 binary into two 2018-05-15 16:31:09 +08:00
pmu Remove .func and .endfunc assembler directives 2018-07-11 09:22:56 +01:00
pwm Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
secure rockchip/rk3399: Add watchdog support in pmusram 2018-05-15 16:31:19 +08:00
soc rockchip/rk3399: Add watchdog support in pmusram 2018-05-15 16:31:19 +08:00