diff options
author | Olaf Kirch <olaf.kirch@oracle.com> | 2007-04-13 07:18:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-14 03:35:39 +0200 |
commit | d791d413fd8527aa6b130882cc84d52aee0fe980 (patch) | |
tree | d8f995c8a1bb51842cd4d7e7c11992498e576a8c /drivers/scsi/qlogicpti.c | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff) | |
download | linux-d791d413fd8527aa6b130882cc84d52aee0fe980.tar.xz linux-d791d413fd8527aa6b130882cc84d52aee0fe980.zip |
DVB: dvb-usb-remote - fix oops when changing keymap
DVB USB remotes do not support changing keycode maps but set
input_dev->keycodesize and input_dev->keycodemax without setting
input_dev->keycode. This causes kernel oops when user tries to
look up (or change) current keymap.
While the proper fix would be to make remotes handle keymap changes
we'll just remove keycodemax and keycodesize initialization so
EVIOCGKEYCODE and EVIOCSKEYCODE will simply return -EINVAL.
http://bugzilla.kernel.org/show_bug.cgi?id=8312
Signed-off-by: olaf.kirch@oracle.com
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
0 files changed, 0 insertions, 0 deletions