]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Handle job is NULL use case in amdgpu_device_gpu_recover
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 27 Aug 2019 16:14:47 +0000 (12:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2019 20:02:39 +0000 (15:02 -0500)
commit2b4e6e71e3cffb2453ba474052526329cef321b8
tree56cbc66cc55c03bd377a7fb43fbe64e49693df33
parentab60f8efdb88920007b20704c62006aae7f5ea4b
drm/amdgpu: Handle job is NULL use case in amdgpu_device_gpu_recover

This should be checked at all places job is accessed.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c