WSL2-Linux-Kernel/drivers/hid
Jiri Kosina e5288eb5ea 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>
2009-05-02 00:02:57 +02:00
..
usbhid HID: fix possible deadlock in usbhid_close() 2009-04-29 17:25:01 +02:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2009-04-03 15:25:44 -07:00
Makefile HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-a4tech.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-apple.c HID: Fix the support for apple mini aluminium keyboard 2009-04-29 11:55:18 +02:00
hid-belkin.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-cherry.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-chicony.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-core.c HID: fix oops in hid_check_keys_pressed() 2009-05-02 00:02:57 +02:00
hid-cypress.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-debug.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00
hid-drff.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-ezkey.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-gaff.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-gyration.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-ids.h HID: Add support for the G25 force feedback wheel in native mode 2009-04-17 11:39:39 +02:00
hid-input.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-kensington.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-kye.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-lg.c HID: Add support for the G25 force feedback wheel in native mode 2009-04-17 11:39:39 +02:00
hid-lg.h HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-lg2ff.c HID: convert to dev_* prints 2008-10-14 23:51:01 +02:00
hid-lgff.c HID: Autocentering support for Logitech MOMO Racing Wheel 2008-10-14 23:50:58 +02:00
hid-microsoft.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-monterey.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-ntrig.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-petalynx.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-pl.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-samsung.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-sony.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-sunplus.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-tmff.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-topseed.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-zpff.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hidraw.c HID: hidraw -- fix missing unlocks in unlocked_ioctl 2009-04-07 16:35:56 +02:00