[PATCH 3.14 42/77] Input: evdev - fix EVIOCG{type} ioctl

2015-01-27 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 7c4f56070fde2367766fa1fb04852599b5e1ad35 upstream. The 'max' size passed into the function is measured in number of bits (KEY_MAX, LED_MAX, etc) so we need to convert

[PATCH 3.14 42/77] Input: evdev - fix EVIOCG{type} ioctl

2015-01-27 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov dmitry.torok...@gmail.com commit 7c4f56070fde2367766fa1fb04852599b5e1ad35 upstream. The 'max' size passed into the function is measured in number of bits (KEY_MAX, LED_MAX,