[Intel-gfx] [PATCH] drm/i915/selftest: Fix an error code in mock_context_barrier()
Chris Wilson
chris at chris-wilson.co.uk
Mon Feb 15 16:35:59 UTC 2021
Quoting Dan Carpenter (2021-02-15 15:58:27)
> If the igt_request_alloc() call fails then this should return a
> negative error code, but currently it returns success.
>
> Fixes: 85fddf0b0027 ("drm/i915: Introduce a context barrier callback")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Looks to be the only missing one in that file; smatch will no doubt find
more.
-Chris
More information about the Intel-gfx
mailing list