Input: Fix a warning in psmouse-base.c
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
254feb882a
commit
271b74d0b8
|
@ -972,7 +972,7 @@ static int psmouse_set_maxproto(const char *val, struct kernel_param *kp)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
if (!strncmp(val, "any", 3)) {
|
if (!strncmp(val, "any", 3)) {
|
||||||
*((unsigned int *)kp->arg) = -1UL;
|
*((unsigned int *)kp->arg) = -1U;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue