On 14 February 2017 at 11:37, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > gcc-4.7 spotted that > > In file included from drivers/gpu/drm/i915/i915_gem_gtt.c:3791:0: > drivers/gpu/drm/i915/selftests/i915_gem_gtt.c: In function ‘pot_hole’: > drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:594:6: error: ‘err’ may be used uninitialized in this function [-Werror=maybe-uninitialized] > > So set it to 0 should we ever skip over a hole smaller than a few pages. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Matthew Auld <matthew.auld@xxxxxxxxx> Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx