diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-16 14:13:25 +0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-16 11:04:43 +0100 |
commit | f3c5fe979117908fb642ed130ae2cd78cb005931 (patch) | |
tree | 849b93a1b7bbee48d94a632dc0df3577f3fd7305 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | f00076d2fd3fe25b2e8c83921818914dee37ffef (diff) |
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 <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions