mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Fix misra errors in gr init unit Misra violation Rule 10.4: Essential type of the left hand operand unsigned is not the same as that of the right operand signed. Misra violation Rule 5.7: Identifier "class" is already used to represent a type. Misra violation Rule 10.8: Cast of composite expression of essential type signed to essential type unsigned. Jira NVGPU-3854 Change-Id: Ic4fe14207aea2ef6f16844ed45b22ffb19fd6bdb Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2173939 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>