summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions.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/trace_functions.c
parent95d18aa2b6c05351181934b3bc34ce038cc7b637 (diff)
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.c2
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;