diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-10-18 10:05:14 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-10-18 11:16:41 +0100 |
commit | fb26eee0600dbd6b2eb20356b7d425cb71413ea2 (patch) | |
tree | f06cadcedc26873a5ae3acd219776f713df75e5d /drivers/gpu/drm/i915/gt | |
parent | 5d904e3c5d40c3939d53659e9c473500c3c24039 (diff) | |
download | linux-fb26eee0600dbd6b2eb20356b7d425cb71413ea2.tar.bz2 |
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 'drivers/gpu/drm/i915/gt')
0 files changed, 0 insertions, 0 deletions