commit | 5f6730a4689269240e911853403456e243513ae0 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jun 21 14:52:46 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jun 21 15:38:54 2019 +0100 |
tree | ac1641b866626962711094383a70caf2ba0b8786 | |
parent | db56f974941b75b2c96e577100e7abe64b03d9b9 [diff] |
drm/i915: Prevent dereference of engine before NULL check in error capture smatch caught, drivers/gpu/drm/i915/i915_gpu_error.c:1418 gem_record_rings() warn: variable dereferenced before check 'engine' (see line 1413) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190621135246.20683-1-chris@chris-wilson.co.uk