aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-02-14 11:37:56 +0000
committerChris Wilson <[email protected]>2017-02-14 22:30:21 +0000
commit72affdf9729d9e9a81498196ed5ada4d8f1c599e (patch)
tree93e11b6f42e9404ff3a6930c2bf562bb2aa40925 /tools/perf/scripts/python/event_analyzing_sample.py
parente1c5f754067b594de58d387aa5873dec83b6c9fd (diff)
drm/i915: Silence compiler for GTT selftests
gcc-4.7 spotted that In file included from drivers/gpu/drm/i915/i915_gem_gtt.c:3791:0: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c: In function ‘pot_hole’: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:594:6: error: ‘err’ may be used uninitialized in this function [-Werror=maybe-uninitialized] So set it to 0 should we ever skip over a hole smaller than a few pages. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions