[Intel-gfx] [PATCH v2] drm/i915: selftest_lrc: Fix error code in live_preempt_user()

Andi Shyti andi.shyti at intel.com
Mon Jan 11 15:31:35 UTC 2021


Hi Dan,

On Mon, Jan 11, 2021 at 05:18:08PM +0300, Dan Carpenter wrote:
> This error path should return a negative error code instead of success.
> 
> Fixes: c92724de6db1 ("drm/i915/selftests: Try to detect rollback during batchbuffer preemption")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list