From: Alexey Khoroshilov Date: Thu, 5 Apr 2012 21:53:20 +0000 (-0300) Subject: drxk: Does not unlock mutex if sanity check failed in scu_command() X-Git-Tag: v3.2.17~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c51332d50dd5eba50821d0decc4f64e4b71226e;p=pandora-kernel.git drxk: Does not unlock mutex if sanity check failed in scu_command() commit e4459e1682c107d7ee1bf102c1ba534230e9b50b upstream. If sanity check fails in scu_command(), goto error leads to unlock of an unheld mutex. The check should not fail in reality, but it nevertheless worth fixing. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed