[Intel-gfx] [PATCH] drm/i915/selftests: Fix error path for ggtt walk_hole()

Matthew Auld matthew.william.auld at gmail.com
Mon Mar 13 10:33:35 UTC 2017


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>


More information about the Intel-gfx mailing list