mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Below MISRA 17.7 violation is reported in common.gr.fs_state unit nvgpu/drivers/gpu/nvgpu/common/gr/fs_state.c:121: misra_c_2012_rule_17_7: The return value of a non-void function "*g->ops.gr.init.rop_mapping" is unused This hal need not return any error hence convert return type to void map_tiles are always allocated before calling this hal hence no need to check if they are allocated in this hal Jira NVGPU-3407 Change-Id: Ic78946fcc7b4780208c416c444d33aea2db20bfc Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2114361 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>