Input: check keycodesize when adjusting keymaps
authorVojtech Pavlik <vojtech@suse.cz>
Sun, 24 Jul 2005 05:50:03 +0000 (00:50 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 24 Jul 2005 05:50:03 +0000 (00:50 -0500)
commit5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe
tree5c8e25dc2797cb0e063c38afda2dbbf292e34bd3
parent463a4f76a79bce00ca8964e0b2ebf7f10f376965
Input: check keycodesize when adjusting keymaps

When changing key mappings we need to make sure that the new
keycode value can be stored in dev->keycodesize bytes.

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/char/keyboard.c
drivers/input/evdev.c