mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Fix for MISRA Rule 14.2. Using a comma operator in the first clause of the for loop. The first clause should either be empty or assign a value to the loop counter. Don't update the loop counter within the loop body. Jira NVGPU-3227 Change-Id: I6bee94c0ce7198d6ff4e465e2e0d982d3d358161 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2110758 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>