]> 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)
commitb88941e89c75af1ea434731ba0035ef519d03eb0
treea6867eefad957c7254cde41905ccdb13a9a2f502
parent8c101069f0bde070224d8045f37537c832327a21
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