commit | 14a5ae40f0def33a422a45b2ed09198adb7bf11c | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Tue Jan 20 11:14:16 2015 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Thu Jan 22 11:19:49 2015 -0500 |
tree | 59fbab59a2c6519b5c95feda7174e58311e3aa2a | |
parent | 3efb5f21a36fbddd524cffe36426a84622ce580e [diff] |
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>