]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/kfd: Add unlock() on error path to add_queue_mes()
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 20 Jun 2024 08:49:30 +0000 (11:49 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:09:47 +0000 (17:09 -0400)
commit39de69c4f935aa66fd4675c1d000643e46083842
treece480272e001ac94e67c872753016146adc52fec
parent35665ca2cdef314bf0bde0c568a0ad38db3020ce
drm/amdgpu/kfd: Add unlock() on error path to add_queue_mes()

We recently added locking to add_queue_mes() but this error path was
overlooked.  Add an unlock to the error path.

Fixes: 1802b042a343 ("drm/amdgpu/kfd: remove is_hws_hang and is_resetting")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c