commit | fb26eee0600dbd6b2eb20356b7d425cb71413ea2 | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Fri Oct 18 10:05:14 2019 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Fri Oct 18 11:16:41 2019 +0100 |
tree | f06cadcedc26873a5ae3acd219776f713df75e5d | |
parent | 5d904e3c5d40c3939d53659e9c473500c3c24039 [diff] |
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.]