summaryrefslogtreecommitdiff
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorDaniel Walter <sahne@0x90.at>2012-09-26 22:08:38 +0200
committerSteven Rostedt <rostedt@goodmis.org>2012-10-31 16:45:23 -0400
commitbcd83ea6cbfee54e33d1527b87538dc99ca2137b (patch)
tree58014b08a1ff10c88df4b6386f105ccdb5681f71 /kernel/trace/ftrace.c
parent95d18aa2b6c05351181934b3bc34ce038cc7b637 (diff)
downloadlwn-bcd83ea6cbfee54e33d1527b87538dc99ca2137b.tar.gz
lwn-bcd83ea6cbfee54e33d1527b87538dc99ca2137b.zip
tracing: Replace strict_strto* with kstrto*
* remove old string conversions with kstrto* Link: http://lkml.kernel.org/r/20120926200838.GC1244@0x90.at Signed-off-by: Daniel Walter <sahne@0x90.at> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 9dcf15d38380..60ad606dc85f 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -4381,7 +4381,7 @@ ftrace_pid_write(struct file *filp, const char __user *ubuf,
if (strlen(tmp) == 0)
return 1;
- ret = strict_strtol(tmp, 10, &val);
+ ret = kstrtol(tmp, 10, &val);
if (ret < 0)
return ret;