diff options
author | Daniel Walter <sahne@0x90.at> | 2012-09-26 22:08:38 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-10-31 16:45:23 -0400 |
commit | bcd83ea6cbfee54e33d1527b87538dc99ca2137b (patch) | |
tree | 58014b08a1ff10c88df4b6386f105ccdb5681f71 /kernel/trace/ftrace.c | |
parent | 95d18aa2b6c05351181934b3bc34ce038cc7b637 (diff) | |
download | lwn-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.c | 2 |
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; |