commit | 890781d10ce362150359c00b06c8b7e9e1ee34d2 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Tue Oct 29 00:09:08 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Jan 22 04:07:35 2025 +0000 |
tree | 05161df78b831a113975fee581a027df2af0a7fa | |
parent | 906d58927760c70112fd8e70a7e67f2a4989e9ed [diff] |
fix(versal): 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: Iffbd8770fd4ff2f2176062469d22961cbaa160b4 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>