]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: fix checking whether new keycode fits size-wise
authorIan Campbell <ijc@hellion.org.uk>
Sun, 4 Sep 2005 06:41:14 +0000 (01:41 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 4 Sep 2005 06:41:14 +0000 (01:41 -0500)
commit4cee99564db7f65a6f88e4b752da52768cde3802
tree6c355494c3c399d2c1fc2d746171f434ded907e4
parentd2b5ffca73594e4046f405e3ef2438ce41f76fb2
Input: fix checking whether new keycode fits size-wise

When dev->keycodesize == sizeof(int) the old code produces
incorrect result.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/char/keyboard.c
drivers/input/evdev.c