[patch] amdkfd: fix an error handling bug in pqm_create_queue()

2014-11-25 Thread Oded Gabbay
On 11/25/2014 12:24 PM, Dan Carpenter wrote: > 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') > Signed-off-by: Dan Carpenter > Patch is: Reviewed-by: Oded Gabbay And

[patch] amdkfd: fix an error handling bug in pqm_create_queue()

2014-11-25 Thread Dan Carpenter
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') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c