From: Dan Carpenter Date: Tue, 25 Nov 2014 10:24:51 +0000 (+0300) Subject: amdkfd: fix an error handling bug in pqm_create_queue() X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e048a0b26033b35eb36c20e4d36fb466a2570c27;p=pandora-kernel.git 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 Signed-off-by: Dan Carpenter Signed-off-by: Oded Gabbay --- Reading git-diff-tree failed