Home
last modified time | relevance | path

Searched hist:"50029 b9ac3c60371f8606fb874df9038fb6839d0" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/common/
H A Dplat_gicv2.c50029b9ac3c60371f8606fb874df9038fb6839d0 Thu Apr 25 09:16:28 UTC 2024 Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> 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>
/rk3399_ARM-atf/plat/common/aarch64/
H A Dplat_common.c50029b9ac3c60371f8606fb874df9038fb6839d0 Thu Apr 25 09:16:28 UTC 2024 Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> 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>