mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Below functions in common.gr.obj_ctx subunit include unnecessary asserts to ensure value is not truncated when parsing into U32 size. nvgpu_gr_obj_ctx_gr_ctx_alloc() Make use of nvgpu_safe_cast_u64_to_u32() and remove unnecessary asserts Jira NVGPU-4778 Change-Id: Ic06c2f4131b3bba35222f7de5441f82ecee6d83d Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2277158 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>