arm-trusted-firmware/plat/common
Maheedhar Bollapalli 50029b9ac3 fix(platforms): modify function to have single return
This corrects the MISRA violation C2012-15.5:
A function should have a single point of exit at the end.
Introduced a temporary variable to store the return value to
ensure single return for the function.

Change-Id: I9c2ca05b506a6ac35b24966fc5fdd5e88e65770d
Signed-off-by: Nithin G <nithing@amd.com>
Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
2025-03-07 13:22:18 +01:00
..
aarch32 refactor(bl32): flush before console switch state 2025-01-21 12:22:57 +01:00
aarch64 fix(platforms): modify function to have single return 2025-03-07 13:22:18 +01:00
tbbr Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_bl1_common.c refactor(bl1): clean up bl2 layout calculation 2024-04-26 09:00:12 +00:00
plat_bl_common.c fix(platforms): add missing curly braces 2025-03-07 13:22:18 +01:00
plat_gicv2.c fix(platforms): modify function to have single return 2025-03-07 13:22:18 +01:00
plat_gicv3.c fix(gic600): workaround for Part 1 of GIC600 erratum 2384374 2024-03-06 14:16:35 -06:00
plat_log_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_psci_common.c fix(platforms): add missing curly braces 2025-03-07 13:22:18 +01:00
plat_spmd_manifest.c feat(spmd): map SPMC manifest region as EL3_PAS 2023-02-07 11:26:38 +00:00
ubsan.c Add UBSAN support and handlers 2019-09-11 14:15:54 +01:00