mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
config->gpc_zcb_count is not allocated in MIG mode. Add NULL checks before accessing this in case it is not allocated. Jira NVGPU-5648 Change-Id: I4c1169772310ae4776063a91ba298af9e5bfe874 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2413840 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>