On 27/04/15 16:32, Chris Wilson wrote: > drivers/gpu/drm/i915/intel_dvo.c: In function ‘intel_dvo_init’: > drivers/gpu/drm/i915/intel_dvo.c:531:8: warning: array subscript is above array bounds [-Warray-bounds] I found this one too, so: Reviewed-by: Dave Gordon <david.s.gordon@xxxxxxxxx> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > --- > drivers/gpu/drm/i915/intel_dvo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c > index 7c9f85285aea..ece5bd754f85 100644 > --- a/drivers/gpu/drm/i915/intel_dvo.c > +++ b/drivers/gpu/drm/i915/intel_dvo.c > @@ -496,7 +496,7 @@ void intel_dvo_init(struct drm_device *dev) > int gpio; > bool dvoinit; > enum pipe pipe; > - uint32_t dpll[2]; > + uint32_t dpll[I915_MAX_PIPES]; > > /* Allow the I2C driver info to specify the GPIO to be used in > * special cases, but otherwise default to what's defined _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx