summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-11-25 13:24:51 +0300
committerOded Gabbay <oded.gabbay@amd.com>2014-11-25 13:24:51 +0300
commite048a0b26033b35eb36c20e4d36fb466a2570c27 (patch)
tree5e9ea640dacbf9fce33ef1290785ef5840795aff /drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
parent66333cb3d7d4ff853b6945f01e68d8986d821235 (diff)
amdkfd: fix an error handling bug in pqm_create_queue()
The call to kernel_queue_uninit(NULL) will trigger a BUG(), and also the error code is incorrect. Fixes: 45102048f77e ('amdkfd: Add process queue manager module') Reviewed-by: Oded Gabbay <oded.gabbay@amd.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c')
0 files changed, 0 insertions, 0 deletions