commit | 2093b25200cfa84790f4465d939c16c6e4c5d897 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Oct 14 06:48:43 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Oct 30 12:48:05 2024 +0530 |
tree | 90b70e2a8a786594671c03654365f380a96a9057 | |
parent | e897f0a5ab05180acfd6225e69a43e5ad8cfce94 [diff] |
fix(versal-net): 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: If5d9e8400e6c41cbe9e9c69d810fa62192f02bf3 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>