aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/mouse/psmouse-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index cd8509549eac..c9f8e16ca578 100644
--- a/drivers/input/mouse/psmouse-base.c
+++ b/drivers/input/mouse/psmouse-base.c
@@ -972,7 +972,7 @@ static int psmouse_set_maxproto(const char *val, struct kernel_param *kp)
972 return -EINVAL; 972 return -EINVAL;
973 973
974 if (!strncmp(val, "any", 3)) { 974 if (!strncmp(val, "any", 3)) {
975 *((unsigned int *)kp->arg) = -1UL; 975 *((unsigned int *)kp->arg) = -1U;
976 return 0; 976 return 0;
977 } 977 }
978 978