tracing: Use IS_ERR() check for return value of tracing_init_dentry()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 20 Jan 2015 16:14:16 +0000 (11:14 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 22 Jan 2015 16:19:49 +0000 (11:19 -0500)
commit14a5ae40f0def33a422a45b2ed09198adb7bf11c
tree59fbab59a2c6519b5c95feda7174e58311e3aa2a
parent3efb5f21a36fbddd524cffe36426a84622ce580e
tracing: Use IS_ERR() check for return value of tracing_init_dentry()

tracing_init_dentry() will soon return NULL as a valid pointer for the
top level tracing directroy. NULL can not be used as an error value.
Instead, switch to ERR_PTR() and check the return status with
IS_ERR().

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace_events.c
kernel/trace/trace_functions_graph.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_printk.c
kernel/trace/trace_stack.c
kernel/trace/trace_stat.c
kernel/trace/trace_uprobe.c