[PATCH] drm/i915/selftests: Fix an IS_ERR() vs NULL check

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 26 14:53:49 UTC 2019


Quoting Mika Kuoppala (2019-03-26 09:30:57)
> Dan Carpenter <dan.carpenter at oracle.com> writes:
> 
> > The live_context() function returns error pointers.  It never returns
> > NULL.
> >
> > Fixes: 9c1477e83e62 ("drm/i915/selftests: Exercise adding requests to a full GGTT")
> > Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> 
> Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> 
> i915_request.c has another :)

Having found it, you could have typed up the patch :-p

Thanks for the fix, pushed.
-Chris


More information about the dri-devel mailing list