[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D3B5915.7060206@gmail.com>
Date: Sat, 22 Jan 2011 23:24:21 +0100
From: Jiri Slaby <jirislaby@...il.com>
To: Chris Wilson <chris@...is-wilson.co.uk>
CC: Dave Airlie <airlied@...ux.ie>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH] drm/i915: Fix use of invalid array size for ring->sync_seqno
On 01/21/2011 11:11 AM, Chris Wilson wrote:
> There are I915_NUM_RINGS-1 inter-ring synchronisation counters, but we
> were clearing I915_NUM_RINGS of them. Oops.
>
> Reported-by: Jiri Slaby <jirislaby@...il.com>
> Signed-off-by: Chris Wilson <chris@...is-wilson.co.uk>
> ---
>
> Jiri, does this catch the invalid array access? For 3 rings, there should
> only be 2 sync counters...
Yup, it's gone.
thanks,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists