diff options
author | Chris Wilson <[email protected]> | 2019-10-13 10:52:11 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-10-13 13:17:19 +0100 |
commit | c2fba936d3047fc5ea1458549daa19844ef243a4 (patch) | |
tree | e619e2a735eba801a784270124fc441918d6cbd7 /drivers/gpu/drm/i915/selftests/intel_memory_region.c | |
parent | 5f5c382ecfdd06e17316d1c9f1362522c20cdfef (diff) |
drm/i915/perf: Avoid polluting the i915_oa_config with error pointers
Use a local variable to track the allocation errors to avoid polluting
the struct and keep the free simple.
Reported-by: kbuild test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/intel_memory_region.c')
0 files changed, 0 insertions, 0 deletions