mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
MISRA rule 14.4 allows only boolean type to be used as controlling expression in "if" and iteration statement. Replace all non-boolean expressions with boolean ones in "if" and "while" statements in nvlink code. JIRA NVGPU-1921 Change-Id: I8e8b96283c1cadf2c64fc7b8168cf44a6ceb8be5 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2029073 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>