[Intel-gfx] [PATCH v2] drm/i915/selftests: fix NULL vs IS_ERR() check in mock_context_barrier()
Chris Wilson
chris at chris-wilson.co.uk
Thu Mar 21 13:31:12 UTC 2019
Quoting Mika Kuoppala (2019-03-21 10:01:13)
> Dan Carpenter <dan.carpenter at oracle.com> writes:
>
> > The mock_context() function returns NULL on error, it doesn't return
> > error pointers.
> >
> > Fixes: 85fddf0b0027 ("drm/i915: Introduce a context barrier callback")
> > Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
>
> Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
And pushed, thanks for the fix!
-Chris
More information about the Intel-gfx
mailing list