diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-10-18 12:05:14 +0300 |
|---|---|---|
| committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-10-18 13:16:41 +0300 |
| commit | fb26eee0600dbd6b2eb20356b7d425cb71413ea2 (patch) | |
| tree | f06cadcedc26873a5ae3acd219776f713df75e5d /scripts/gdb/linux/proc.py | |
| parent | 5d904e3c5d40c3939d53659e9c473500c3c24039 (diff) | |
| download | linux-fb26eee0600dbd6b2eb20356b7d425cb71413ea2.tar.xz | |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
