commit | 3ab0d67a2802a2400e1e63d3baec5e2d4684f5b5 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Apr 22 15:10:45 2024 +0530 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Oct 30 07:05:30 2024 +0000 |
tree | 554fbb73d23de5485d0719195de0b623db6acc4a | |
parent | 5a372eac0d76cb2002cfab693eea8868d43332c6 [diff] |
fix(zynqmp): 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: I5bf7070db9bced50f5d37a3d9406301585930b50 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>