diff options
author | Tvrtko Ursulin <[email protected]> | 2019-10-18 10:05:14 +0100 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2019-10-18 11:16:41 +0100 |
commit | fb26eee0600dbd6b2eb20356b7d425cb71413ea2 (patch) | |
tree | f06cadcedc26873a5ae3acd219776f713df75e5d /scripts/gdb/linux/modules.py | |
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 <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
[tursulin: Commit message spelling fix.]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions