]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Avoid putting the error pointer
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Jun 2018 15:33:32 +0000 (16:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Jun 2018 16:11:02 +0000 (17:11 +0100)
commitf44554c16e04883a4d621adb315989cf250a0381
treed2db717133f46a5a9bbf2167c375067025db9561
parent9de0926d5cc5555f162f810d4ed89cc668a5c795
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: b80d8a2aadba ("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
drivers/gpu/drm/i915/intel_lrc.c