[Intel-gfx] [PATCH] drm/i915/selftests: Catch error from mock_file()
Chris Wilson
chris at chris-wilson.co.uk
Mon Mar 13 14:29:36 UTC 2017
On Mon, Mar 13, 2017 at 12:54:15PM +0000, Tvrtko Ursulin wrote:
>
> On 13/03/2017 12:47, Chris Wilson wrote:
> >The patch 791ff39ae32a: "drm/i915: Live testing for context
> >execution" from Feb 13, 2017, leads to the following static checker
> >warning:
> >
> > drivers/gpu/drm/i915/selftests/i915_gem_context.c:347 igt_ctx_exec()
> > error: 'file' dereferencing possible ERR_PTR()
> >
> >Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> >Fixes: 791ff39ae32a ("drm/i915: Live testing for context execution")
> >Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> >Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> >Cc: Matthew Auld <matthew.auld at intel.com>
> >Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> >Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> >Cc: <drm-intel-fixes at lists.freedesktop.org>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Pushed, thanks,
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list