projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69d8ba5
)
staging/speakup: Replaced deprecated function
author
Lisa Nguyen
<lisa@xenapiadmin.com>
Fri, 17 May 2013 18:52:28 +0000
(11:52 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 17 May 2013 21:53:50 +0000
(14:53 -0700)
Replaced simple_strtol() function with kstrtol() function
in main.c
Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
patch
|
blob
|
history
diff --git
a/drivers/staging/speakup/main.c
b/drivers/staging/speakup/main.c
index
3ea2515
..
e91d213
100644
(file)
--- 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 =
simple_
strtol(goto_buf, &cp, 10);
+ go_pos =
k
strtol(goto_buf, &cp, 10);
goto_pos = (u_long) go_pos;
if (*cp == 'x') {
if (*goto_buf < '0')