summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-02-07 17:22:28 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-02-11 20:39:10 +0200
commit40d427931dee096c8e67098574a0d9063f2a43c6 (patch)
tree6c9393aa304a350e6dbb3199a8b31d8d892d2e5a /tools/perf/scripts/python/exported-sql-viewer.py
parentf16ccb6445d3c2038998375a8491686c43e6026e (diff)
drm/i915: Don't use uninitialized 'ret'
Accidentally removed the 'ret=0' initialization, and thus we're potentially looking at some stack garbage here. The whole 'ret = do_stuff; if (!ret) do_other_stuff;' pattern confuses my brain so let's replace it with the standard immediate return thing. Reported-by: Chris Wilson <chris@chris-wilson.co.uk> Fixes: 28a30b45f5e9 ("drm/i915: Convert cdclk to global state") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200207152228.1054-1-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions