[Intel-gfx] [PATCH] drm/i915/selftests: Fix error path for ggtt walk_hole()
Chris Wilson
chris at chris-wilson.co.uk
Mon Mar 13 14:29:53 UTC 2017
On Mon, Mar 13, 2017 at 10:33:35AM +0000, Matthew Auld wrote:
> On 13 March 2017 at 10:07, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > The patch 6e32ab3d4777: "drm/i915: Fill different pages of the GTT"
> > from Feb 13, 2017, leads to the following static checker warning:
> >
> > drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:583 walk_hole()
> > error: 'vma' dereferencing possible ERR_PTR()
> >
> > Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> > Fixes: 6e32ab3d4777 ("drm/i915: Fill different pages of the GTT"
> > 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: Mika Kuoppala <mika.kuoppala at intel.com>
> > Cc: <drm-intel-fixes at lists.freedesktop.org>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
Pushed, thanks,
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list