drm/amdkfd: Fix null ptr access
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 11 May 2023 09:01:03 +0000 (17:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:37:21 +0000 (10:37 -0400)
commit0409022c15623d91c112e51f38cb62633becd432
treee3d2ba7ba46886adec135dfec5fc4644989aaaa7
parentf464c5dd4d918d4dd84eda7e68d4a0b6d41fe37f
drm/amdkfd: Fix null ptr access

Avoid access null xcp_mgr pointer.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c