diff options
author | 2019-10-18 10:05:14 +0100 | |
---|---|---|
committer | 2019-10-18 11:16:41 +0100 | |
commit | fb26eee0600dbd6b2eb20356b7d425cb71413ea2 (patch) | |
tree | f06cadcedc26873a5ae3acd219776f713df75e5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Pass in intel_gt at some for_each_engine sites (diff) | |
download | linux-dev-fb26eee0600dbd6b2eb20356b7d425cb71413ea2.tar.xz linux-dev-fb26eee0600dbd6b2eb20356b7d425cb71413ea2.zip |
drm/i915/pmu: Fix uninitialized variable on error path
If name allocation failed the log message will contain an uninitialized
error code which can be confusing.
Fixes: 05488673a4d4 ("drm/i915/pmu: Support multiple GPUs")
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191018090514.1818-1-tvrtko.ursulin@linux.intel.com
[tursulin: Commit message spelling fix.]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions