diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-10-22 23:47:34 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-10-22 23:47:34 (GMT) |
commit | eb9910894d7857c273e049b297fd6251e5ecc43e (patch) | |
tree | 296ffbceed469ec42ae7107c1b9ce7356f05eeb0 /drivers/char/hvc_console.c | |
parent | 0f2c5945a917e776ccd394f0e1924e9502c2795f (diff) | |
download | linux-fsl-qoriq-eb9910894d7857c273e049b297fd6251e5ecc43e.tar.xz |
HID: fix lock imbalance in hiddev
Don't forget to unlock_kernel() in hiddev_ioctl_usage().
Added in 7961df16819085b8a357720d89d0239036e6af2a
(HID: Switch hiddev to unlocked_ioctl).
Corresponing sparse warning:
drivers/hid/usbhid/hiddev.c:515:10: warning: context imbalance in 'hiddev_ioctl_usage': wrong count at exit
drivers/hid/usbhid/hiddev.c:515:10: context 'kernel_lock': wanted 0, got 1
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/char/hvc_console.c')
0 files changed, 0 insertions, 0 deletions