mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
Input: fix signedness warning in input_set_keycode()
The dev->getkeycode() method expects unsigned argument. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
e22739d02a
commit
fd6cf3dddf
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user