[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9b2db90b0811292243o797c12d9iaf4d313af5f43698@mail.gmail.com>
Date: Sun, 30 Nov 2008 08:43:54 +0200
From: "Nir Tzachar" <nir.tzachar@...il.com>
To: "Carlos R. Mafra" <crmafra2@...il.com>
Cc: linux-kernel@...r.kernel.org, bzolnier@...il.com,
zippel@...ux-m68k.org, linux-kbuild@...r.kernel.org,
ariveira@...il.com, rdunlap@...otime.net, 7eggert@....de,
kosaki.motohiro@...fujitsu.com, sam@...nborg.org
Subject: Re: [PATCH] nconfig V3
Hello.
On Sun, Nov 30, 2008 at 1:02 AM, Carlos R. Mafra <crmafra2@...il.com> wrote:
> On Sat 29.Nov'08 at 23:42:39 +0200, Nir Tzachar wrote:
>> [...]
>> +static ITEM *btns_items[BTN_MAX];
Thanks. This should be btns_items[BTN_MAX+1];
> [...]
>
>> + btns_items[BTN_MAX] = NULL;
>
> gcc warns about this here
>
> scripts/kconfig/nconf.c:1311: warning: array subscript is above array bounds
>
Cheers.
--
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