aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-08-14 18:44:40 +0100
committerChris Wilson <[email protected]>2016-08-14 19:38:26 +0100
commit35a9611ca0e719557d9a198cb01021b4003198f2 (patch)
tree6b38a6f43c3df1b9767759a5f358e163551bdef7 /tools/perf/scripts/python/netdev-times.py
parent0b1de5d58e1972a88cfa5d1ea709a7b16934783a (diff)
drm/i915: Initialize return value for empty i915_gem_object_unbind()
If the obj->vma_list is empty, we immediately return ret. However, we are doing so having never set it to any value, it should be zero! Reported-by: Matthew Auld <[email protected]> References: https://bugs.freedesktop.org/show_bug.cgi?id=97343 Fixes: aa653a685d81 ("drm/i915: Be more careful when unbinding vma") Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions