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

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 27 09:52:41 UTC 2019


Quoting Mika Kuoppala (2019-03-27 09:32:14)
> The live_context() function returns error pointers.  It never returns
> NULL.
> 
> v2: don't clamp the err (Chris)
> 
> Fixes: 52c0fdb25c7c ("drm/i915: Replace global breadcrumbs with per-context interrupt tracking")
> Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list