From: Wei Yongjun Date: Mon, 16 Dec 2013 06:13:25 +0000 (+0800) Subject: drm/i915: fix return value check of debugfs_create_file() X-Git-Tag: v3.14-rc1~47^2~16^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c5fe979117908fb642ed130ae2cd78cb005931;p=pandora-kernel.git drm/i915: fix return value check of debugfs_create_file() In case of error, the function debugfs_create_file() returns NULL pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed