From: Steven Rostedt (Red Hat) Date: Tue, 20 Jan 2015 16:14:16 +0000 (-0500) Subject: tracing: Use IS_ERR() check for return value of tracing_init_dentry() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~111^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14a5ae40f0def33a422a45b2ed09198adb7bf11c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed