commit | e897f0a5ab05180acfd6225e69a43e5ad8cfce94 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Oct 14 06:45:13 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Oct 30 07:05:40 2024 +0000 |
tree | 43bfd65eeeecd498d0a8860e7f91fc598984890c | |
parent | a9cc0bd6ced56766a6460875a0f672460879844f [diff] |
fix(versal): modify conditions to have boolean type This corrects the MISRA violation C2012-14.4: The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially boolean type. Updated controlling expression to explicitly compare with zero. Change-Id: Ice208ea07ce88f571f8868692c1e92cbfcd35cf4 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>