a08a201430
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> |
||
---|---|---|
.. | ||
pm_api_clock.c | ||
pm_api_clock.h | ||
pm_api_ioctl.c | ||
pm_api_ioctl.h | ||
pm_api_pinctrl.c | ||
pm_api_pinctrl.h | ||
pm_api_sys.c | ||
pm_api_sys.h | ||
pm_client.c | ||
pm_client.h | ||
pm_common.h | ||
pm_defs.h | ||
pm_ipi.c | ||
pm_ipi.h | ||
pm_svc_main.c | ||
pm_svc_main.h |