diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-05-02 00:02:57 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-05-02 00:02:57 +0200 |
commit | e5288eb5ea89bd82d897cb687348bc608278f920 (patch) | |
tree | bf123fe05a3310667c8f8024f7b459a40cef010e /include/asm-mn10300/serial-regs.h | |
parent | HID: fix possible deadlock in usbhid_close() (diff) | |
download | linux-dev-e5288eb5ea89bd82d897cb687348bc608278f920.tar.xz linux-dev-e5288eb5ea89bd82d897cb687348bc608278f920.zip |
HID: fix oops in hid_check_keys_pressed()
If the device is not claimed by hid-input (i.e devices driver by userspace
hiddev/hidraw-based drivers, or completely detached from HID
and driver by libusb), we must not check the hid->inptus, as it
is not guaranteed to be initialized, as this is performed only for devices
handled by hid-input.
Reported-by: Guillaume Chazarain <guichaz@gmail.com>
Tested-by: Guillaume Chazarain <guichaz@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/asm-mn10300/serial-regs.h')
0 files changed, 0 insertions, 0 deletions