commit | 3f6d47945a4bd94eae2d6ad17f50b59cda551c10 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Nov 04 08:44:54 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Jan 15 05:46:12 2025 +0000 |
tree | 5e5d770443be1c08f1984f090be393afcf8915f0 | |
parent | baeeaddff4840028d627f21af64e6397da88a058 [diff] |
fix(zynqmp): 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: Ibff3df16b4c591384467771bc7cb316f1773f1ea Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>