aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDave Gordon <[email protected]>2016-01-28 10:48:09 +0000
committerTvrtko Ursulin <[email protected]>2016-01-28 17:42:14 +0000
commit0aa498d59c67d925f2a53fdffd1d447727d65c22 (patch)
tree98acd0d5095243c99add7d63117f4c765f29bf7f /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentf4e2deceb6aaab661be3e13191cd13da3dd3b9c2 (diff)
Fix pointer tests in error-handling paths
In the error-handling paths of i915_gem_do_execbuffer() and intel_crtc_page_flip(), the local pointer-to-request variables were expected to be either valid pointers or NULL. Since 2682708 drm/i915: simplify allocation of driver-internal requests they could also be ERR_PTR() values, so the tests need to be updated to accommodate this case. Signed-off-by: Dave Gordon <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions