[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c6d829$pvchrr@fmsmga001.fm.intel.com>
Date: Sat, 25 Dec 2010 13:38:56 +0000
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Jarek Poplawski <jarkao2@...il.com>,
Linux Kernel <linux-kernel@...r.kernel.org>
Cc: David Airlie <airlied@...ux.ie>, dri-devel@...ts.freedesktop.org
Subject: Re: [2.6.37-rc7] drivers/gpu/drm/drm_edid.c:1303: warning: array subscript is above array bounds
On Sat, 25 Dec 2010 14:13:43 +0100, Jarek Poplawski <jarkao2@...il.com> wrote:
> Hi,
> There is this compile warning in Linus' tree (gcc version 4.3.3):
>
> drivers/gpu/drm/drm_edid.c: In function 'drm_detect_hdmi_monitor':
> drivers/gpu/drm/drm_edid.c:1303: warning: array subscript is above array bounds
> drivers/gpu/drm/drm_edid.c: In function 'drm_detect_monitor_audio':
> drivers/gpu/drm/drm_edid.c:1303: warning: array subscript is above array bounds
What array? It's declared as "u8 *edid_ext;". At first glance looks like a
compiler bug, applying subscript testing to an object with unknown bounds.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
--
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