]> git.baikalelectronics.ru Git - kernel.git/commit
Videopix Frame Grabber: Fix unreleased lock in vfc_debug()
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 31 Jul 2007 07:39:23 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:43 +0000 (15:39 -0700)
commitc0242cd6069739bb3c368051eccec507d29dd041
treeac4eabc67325b56f0911c639a0865ab763953186
parentddb9ba300dee9cdf10d2a79685d00243d2b893d3
Videopix Frame Grabber: Fix unreleased lock in vfc_debug()

Videopix Frame Grabber: vfc_debug() doesn't release the device lock
when copy_from_user() fails

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Acked-by: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/sbus/char/vfc_dev.c