commit | 120bdd54cd7e92376205c7afe27bd70e8f1bcef6 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Tue Oct 29 03:53:19 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Jan 22 04:07:35 2025 +0000 |
tree | 8901a0d5177652cb32799a0a650eb53e19de6d77 | |
parent | d27a516c02e5f32068cdc8a6e2472dc338691e00 [diff] |
fix(versal2): 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: Ib152831e84f5ead5b57fd713ebfedb1f3340a727 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>