mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
MISRA Rule 13.5 states that the right hand operand of a logical && or || operator shall not have persistent side effects. Update the while loop in gk20a_wait_for_idle() to comply. JIRA NVGPU-3318 Change-Id: I3e51361914c298416bab1f2f7500d743ce409c8b Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2114658 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>