diff options
author | Yong Zhao <yong.zhao@amd.com> | 2018-01-02 21:10:49 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2018-01-02 21:10:49 +0300 |
commit | 9e8272240bee42ebafa9d4994c1d65916a761f5d (patch) | |
tree | 80c790a408702b8a0d02d3e46978a5d7f35eaa1f /drivers/gpu/drm/amd/amdkfd | |
parent | 9be712ef4612268c28b9f1e2d850d3ceab06ef66 (diff) | |
download | linux-9e8272240bee42ebafa9d4994c1d65916a761f5d.tar.xz |
drm/amdkfd: Fix return value 0 when execute_queues_cpsch fails
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c index d0693fd8cbf8..acfb12100e17 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c @@ -1033,7 +1033,7 @@ static int destroy_queue_cpsch(struct device_queue_manager *dqm, mutex_unlock(&dqm->lock); - return 0; + return retval; failed: failed_try_destroy_debugged_queue: |