commit | e048a0b26033b35eb36c20e4d36fb466a2570c27 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Nov 25 13:24:51 2014 +0300 |
committer | Oded Gabbay <oded.gabbay@amd.com> | Tue Nov 25 13:24:51 2014 +0300 |
tree | 5e9ea640dacbf9fce33ef1290785ef5840795aff | |
parent | 66333cb3d7d4ff853b6945f01e68d8986d821235 [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>