]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Reorder error cleanup for whitelist checking
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 Jul 2019 15:23:21 +0000 (16:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 Jul 2019 16:33:28 +0000 (17:33 +0100)
commit4250d27a8fac059b1c964eb5741931c1d8ead094
treea6867eefad957c7254cde41905ccdb13a9a2f502
parent1d46859245cd12dc20f4ec12bf41838fd982595a
drm/i915/selftests: Reorder error cleanup for whitelist checking

Reorder the error paths so that we unwind all the locals from any error
path and so avoid setting off divers alarum in case we find an error in
case we find an error.

References: https://bugs.freedesktop.org/show_bug.cgi?id=111048
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190708152321.22187-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_workarounds.c