tmp_suning_uos_patched/drivers/input
Dmitry Torokhov 7c4f56070f Input: evdev - fix EVIOCG{type} ioctl
The 'max' size passed into the function is measured in number of bits
(KEY_MAX, LED_MAX, etc) so we need to convert it accordingly before trying
to copy the data out, otherwise we will try copying too much and end up
with up with a page fault.

Reported-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-10-07 09:55:01 -07:00
..
gameport Input: joystick - use ktime for measuring timing 2014-09-11 23:41:18 -07:00
joystick Input: joystick - use ktime for measuring timing 2014-09-11 23:41:18 -07:00
keyboard Input: cros_ec_keyb - optimize ghosting algorithm 2014-09-03 17:07:05 -07:00
misc Input: soc_button_array - convert to platform bus 2014-09-24 16:27:24 -07:00
mouse Input: psmouse - add support for detecting FocalTech PS/2 touchpads 2014-09-15 14:30:46 -07:00
serio Merge branch 'next' into for-linus 2014-08-06 23:36:12 -07:00
tablet Merge branch 'wacom' into next 2014-08-06 23:31:48 -07:00
touchscreen Merge branch 'next' into for-linus 2014-08-14 23:02:58 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - fix EVIOCG{type} ioctl 2014-10-07 09:55:01 -07:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c Input: MT - make slot cleanup callable outside mt_sync_frame() 2014-08-07 23:37:07 -07:00
input-polldev.c Input: implement managed polled input devices 2014-05-14 16:40:04 -07:00
input.c Input: fix defuzzing logic 2014-07-20 13:17:42 -07:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix race when creating mixed device 2014-03-29 14:44:23 -07:00
sparse-keymap.c treewide: Fix typo in Documentation/DocBook 2014-02-19 14:58:17 +01:00