diff options
author | 2017-04-13 22:52:17 +0300 | |
---|---|---|
committer | 2017-04-26 16:28:24 +0300 | |
commit | 5af9e672b84f006695b820f791f2eceecca59bbc (patch) | |
tree | a57eb735974332466db1202647f231c457237e50 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/i915: Perform link quality check unconditionally during long pulse (diff) | |
download | wireguard-linux-5af9e672b84f006695b820f791f2eceecca59bbc.tar.xz wireguard-linux-5af9e672b84f006695b820f791f2eceecca59bbc.zip |
drm/i915: checking for NULL instead of IS_ERR() in mock selftests
i915_gem_request_alloc() uses error pointers. It never returns NULLs.
Fixes: 0daf0113cff6 ("drm/i915: Mock infrastructure for request emission")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170413195217.GA26108@mwanda
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit be02f7556447a0dee672acb5e462f03377b98ae8)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions