diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-11 16:33:32 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2018-06-19 15:47:44 +0300 |
commit | a5bfcdf0e16b33c1690ded31f863466136480ddc (patch) | |
tree | 4166648e51d7b099ced8016b3ea3cfde23be5914 /drivers/gpu/drm/drm_file.c | |
parent | 7ba33e1c9d1e03f442b161c701d1f811ea13c75e (diff) |
drm/i915/execlists: Avoid putting the error pointer
On allocation error, do not jump to the unwind handler that tries to
free the error pointer.
Reported-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: a89d1f921c15 ("drm/i915: Split i915_gem_timeline into individual timelines")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180611153332.14824-1-chris@chris-wilson.co.uk
(cherry picked from commit 467d35789e5a4f47428b65ef711b30fdabbb0fd4)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_file.c')
0 files changed, 0 insertions, 0 deletions