diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-01-20 17:14:16 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-01-22 17:19:49 +0100 |
commit | 14a5ae40f0def33a422a45b2ed09198adb7bf11c (patch) | |
tree | 59fbab59a2c6519b5c95feda7174e58311e3aa2a /lib/sort.c | |
parent | tracing: Remove unneeded includes of debugfs.h and fs.h (diff) | |
download | linux-14a5ae40f0def33a422a45b2ed09198adb7bf11c.tar.xz linux-14a5ae40f0def33a422a45b2ed09198adb7bf11c.zip |
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>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions