From: Dmitry Torokhov Date: Wed, 14 Jul 2010 07:25:21 +0000 (-0700) Subject: Input: fix signedness warning in input_set_keycode() X-Git-Tag: v2.6.36-rc1~292^2~1^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd6cf3dddfb06e8e06d62990c076c25211f79eec;p=profile%2Fivi%2Fkernel-x86-ivi.git Input: fix signedness warning in input_set_keycode() The dev->getkeycode() method expects unsigned argument. Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input.c b/drivers/input/input.c index 240ad39..a3d5485 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -694,7 +694,7 @@ int input_set_keycode(struct input_dev *dev, unsigned int scancode, unsigned int keycode) { unsigned long flags; - int old_keycode; + unsigned int old_keycode; int retval; if (keycode > KEY_MAX)