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)
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>

No differences found