From: Lisa Nguyen Date: Tue, 21 May 2013 20:31:48 +0000 (-0700) Subject: staging/speakup: Changed parameters in kstrtol() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2ae62fe336f5194c06c213a32bbce0c8bf1511d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging/speakup: Changed parameters in kstrtol() Changed parameters in the kstrtol() function inside main.c to resolve warnings re: mismatched data types used. Signed-off-by: Lisa Nguyen Reported-by: kbuild test robot Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index e91d2132a873..4769c895e01f 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -1892,7 +1892,7 @@ oops: spk_special_handler = NULL; return 1; } - go_pos = kstrtol(goto_buf, &cp, 10); + go_pos = kstrtol(goto_buf, 10, (long *)&cp); goto_pos = (u_long) go_pos; if (*cp == 'x') { if (*goto_buf < '0')