mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
nvgpu_list_for_each_entry_safe violates MISRA Rule 14.2, as it uses comma separator in the for clauses. Use a while loop instead in nvgpu_tsg_release, as we want to empty the list. Jira NVGPU-3380 Change-Id: I38211cc326e458d0912f374e3692328fb4e9b191 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2111383 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>