HID: unlock properly on error paths in hidraw_ioctl()
authorDan Carpenter <error27@gmail.com>
Tue, 3 Feb 2009 13:35:17 +0000 (16:35 +0300)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Feb 2009 12:25:01 +0000 (13:25 +0100)
commitdfd395aff4cb16d2480b280064bea1b19ededef1
tree54a64c67f6284fe431126741033fcf71bfbe809c
parent35cfd1d964f3c2420862f2167a0eb85ff1208999
HID: unlock properly on error paths in hidraw_ioctl()

We can't return immediately because lock_kernel() is held.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c