aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-01-17 11:06:02 +0000
committerChris Wilson <[email protected]>2020-01-17 13:27:10 +0000
commit416d3838f76b719cb47f076df73691eeac59a6ea (patch)
tree3f77d0ac8a3c90fe0369eeea67530fe6d615aace /tools/perf/scripts/python/bin/stackcollapse-report
parentf1766e3a78c5edbf8a24baf4bb11d78ed9cf49dc (diff)
drm/i915: Satisfy smatch that a loop has at least one iteration
Smatch worries that the engine->mask may be 0 leading to the loop being shortcircuited leaving the next pointer unset, drivers/gpu/drm/i915/i915_active.c:667 i915_active_acquire_preallocate_barrier() error: uninitialized symbol 'next'. Assert that mask is not 0 and smatch can then verify that next must be initialised before use. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions