Commit fd6cf3dd authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: fix signedness warning in input_set_keycode()

The dev->getkeycode() method expects unsigned argument.
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent e22739d0
...@@ -694,7 +694,7 @@ int input_set_keycode(struct input_dev *dev, ...@@ -694,7 +694,7 @@ int input_set_keycode(struct input_dev *dev,
unsigned int scancode, unsigned int keycode) unsigned int scancode, unsigned int keycode)
{ {
unsigned long flags; unsigned long flags;
int old_keycode; unsigned int old_keycode;
int retval; int retval;
if (keycode > KEY_MAX) if (keycode > KEY_MAX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment