commit | 906d58927760c70112fd8e70a7e67f2a4989e9ed | [log] [tgz] |
---|---|---|
author | Nithin G <nithing@amd.com> | Thu Apr 25 19:10:06 2024 +0530 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Jan 22 04:07:30 2025 +0000 |
tree | 5b98d84c0c9d737dd715c5b54bed7857d5abe754 | |
parent | 3f6d47945a4bd94eae2d6ad17f50b59cda551c10 [diff] |
fix(xilinx): 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: Ice3eb939664ffc62c1f586b641e37481f10ffff6 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>