commit | 1a98695601b511322b23ab0a552d45c966d661df | [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 | 1660eb9fdadd6904434e442e5d0b89bec24c914f [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>