diff options
author | Daniel Walter <sahne@0x90.at> | 2012-09-26 22:08:38 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-10-31 21:45:23 +0100 |
commit | bcd83ea6cbfee54e33d1527b87538dc99ca2137b (patch) | |
tree | 58014b08a1ff10c88df4b6386f105ccdb5681f71 /kernel/trace/trace_functions.c | |
parent | perf/x86: Fix sparse warnings (diff) | |
download | linux-bcd83ea6cbfee54e33d1527b87538dc99ca2137b.tar.xz linux-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/trace_functions.c')
-rw-r--r-- | kernel/trace/trace_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c index 507a7a9630bf..618dcf8bdb87 100644 --- a/kernel/trace/trace_functions.c +++ b/kernel/trace/trace_functions.c @@ -366,7 +366,7 @@ ftrace_trace_onoff_callback(struct ftrace_hash *hash, * We use the callback data field (which is a pointer) * as our counter. */ - ret = strict_strtoul(number, 0, (unsigned long *)&count); + ret = kstrtoul(number, 0, (unsigned long *)&count); if (ret) return ret; |