commit | a9cc0bd6ced56766a6460875a0f672460879844f | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Apr 22 15:27:02 2024 +0530 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Oct 30 07:05:39 2024 +0000 |
tree | 2fb49d0ea09c77c8edea0f8fb25e6ac8f1652567 | |
parent | 3ab0d67a2802a2400e1e63d3baec5e2d4684f5b5 [diff] |
fix(xilinx): 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: I12eb4f4c615131d5ee63425b2ccb4f77f3dffa2e Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>