summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-xp
diff options
context:
space:
mode:
authorDan Carpenter2009-02-05 00:12:20 +0100
committerLinus Torvalds2009-02-05 21:56:48 +0100
commit736d54533aedbcbde8cfb2f9ccd542595db4d78d (patch)
tree83fbdc15a5ad032e47c9d237617a67866303767b /drivers/misc/sgi-xp
parentatyfb: fix CONFIG_ namespace violations (diff)
downloadkernel-qcow2-linux-736d54533aedbcbde8cfb2f9ccd542595db4d78d.tar.gz
kernel-qcow2-linux-736d54533aedbcbde8cfb2f9ccd542595db4d78d.tar.xz
kernel-qcow2-linux-736d54533aedbcbde8cfb2f9ccd542595db4d78d.zip
sx.c: fix missed unlock_kernel() on error path in sx_fw_ioctl()
If we return directly with -EPERM then lock_kernel() is still held. This was found with a code checker (http://repo.or.cz/w/smatch.git/). [akpm@linux-foundation.org: fix another such path - missed func_exit()] Signed-off-by: Dan Carpenter <error27@gmail.com> Cc: <R.E.Wolff@BitWizard.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp')
0 files changed, 0 insertions, 0 deletions