projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[profile/ivi/kernel-x86-ivi.git]
/
drivers
/
input
/
input.c
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index
90b7ecf
..
db409d6
100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-752,7
+752,7
@@
static int input_default_setkeycode(struct input_dev *dev,
if (index >= dev->keycodemax)
return -EINVAL;
- if (dev->keycodesize < sizeof(
dev
->keycode) &&
+ if (dev->keycodesize < sizeof(
ke
->keycode) &&
(ke->keycode >> (dev->keycodesize * 8)))
return -EINVAL;