drm/amdkfd: fix null queue check on debug setting exceptions
authorJonathan Kim <jonathan.kim@amd.com>
Mon, 12 Jun 2023 15:42:24 +0000 (11:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 14:46:05 +0000 (10:46 -0400)
commit8f7bd7010dd5bca920e9d3c0c040622b2e834b57
tree1a5f08b16a13d247fd57e8564a753b8fbc5dfe8d
parentfcdb3832a4edece23c043ce97b3a1f7647bec929
drm/amdkfd: fix null queue check on debug setting exceptions

Null check should be done on queue struct itself and not on the
process queue list node.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_debug.c