Re: [Intel-gfx] [PATCH 1/2] drm/i915: [dinq] Fix six instances of -Warray-bounds

2012-02-15 Thread Daniel Vetter
On Wed, Feb 15, 2012 at 02:42:42PM +0100, Ben Widawsky wrote: > Introduced in commits c1cd90ed and d27b1e0e > > Cc: Daniel Vetter > Signed-off-by: Ben Widawsky This one smells like gcc being stupid - it's in a static function an gcc sees all the callsites and we only pass in a const ring argume

[Intel-gfx] [PATCH 1/2] drm/i915: [dinq] Fix six instances of -Warray-bounds

2012-02-15 Thread Ben Widawsky
Introduced in commits c1cd90ed and d27b1e0e Cc: Daniel Vetter Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_debugfs.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index ae73288..9f