summaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorLisa Nguyen <lisa@xenapiadmin.com>2013-05-21 13:31:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 13:53:42 -0700
commitf2ae62fe336f5194c06c213a32bbce0c8bf1511d (patch)
tree0186bdac0f94d697f37d19d67f925784f296bf3a /drivers/staging/speakup
parentfb62a3f133e305b8b3b74b48c5a79330574cc892 (diff)
downloadtalos-obmc-linux-f2ae62fe336f5194c06c213a32bbce0c8bf1511d.tar.gz
talos-obmc-linux-f2ae62fe336f5194c06c213a32bbce0c8bf1511d.zip
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 <lisa@xenapiadmin.com> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/main.c2
1 files changed, 1 insertions, 1 deletions
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')
OpenPOWER on IntegriCloud