drm/i915: Fix an error handling path in igt_write_huge()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 17 Jul 2023 18:49:31 +0000 (20:49 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Mon, 24 Jul 2023 16:24:58 +0000 (18:24 +0200)
commit361ecaadb1ce3c5312c7c4c419271326d43899eb
treecebbdb71b1c63737b7a9d90560f37fe6c93c873e
parentd3f23ab93a1ecb70e8483aa40e997a2142addc86
drm/i915: Fix an error handling path in igt_write_huge()

All error handling paths go to 'out', except this one. Be consistent and
also branch to 'out' here.

Fixes: c10a652e239e ("drm/i915/selftests: Rework context handling in hugepages selftests")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7a036b88671312ee9adc01c74ef5b3376f690b76.1689619758.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/i915/gem/selftests/huge_pages.c