arm-trusted-firmware/plat/xilinx/zynqmp/pm_service
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
..
pm_api_clock.c zynqmp: pm: Correct function header of clock APIs 2018-09-04 17:57:32 +05:30
pm_api_clock.h zynqmp: pm: Add API to get number of clocks 2018-08-27 06:49:46 -07:00
pm_api_ioctl.c Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
pm_api_ioctl.h zynqmp: pm_service: Add support for writing to AFI registers 2018-09-04 17:30:15 +05:30
pm_api_pinctrl.c zynqmp: pm: Minor corrections for MISRA compliance 2018-03-15 10:28:29 -07:00
pm_api_pinctrl.h zynqmp: pm: Minor corrections for MISRA compliance 2018-03-15 10:28:29 -07:00
pm_api_sys.c zynqmp: Add ATF support for Data blob encryption and decryption 2018-09-04 18:05:50 +05:30
pm_api_sys.h zynqmp: Add ATF support for Data blob encryption and decryption 2018-09-04 18:05:50 +05:30
pm_client.c zynqmp: pm: Add support for setting suspend-to-RAM mode 2018-05-17 15:11:33 +05:30
pm_client.h zynqmp: pm: Add support for setting suspend-to-RAM mode 2018-05-17 15:11:33 +05:30
pm_common.h zynqmp: pm: Support ATF PM version check 2018-03-15 10:24:09 -07:00
pm_defs.h zynqmp: Add ATF support for Data blob encryption and decryption 2018-09-04 18:05:50 +05:30
pm_ipi.c xilinx: zynqmp: pm_service: Fix APU only restart 2018-05-17 15:19:14 +05:30
pm_ipi.h xilinx: zynqmp: pm_service: Fix APU only restart 2018-05-17 15:19:14 +05:30
pm_svc_main.c zynqmp: Add ATF support for Data blob encryption and decryption 2018-09-04 18:05:50 +05:30
pm_svc_main.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00