[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1506081508450.4133@nanos>
Date: Mon, 8 Jun 2015 15:10:50 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: David Binderman <dcb314@...mail.com>
cc: "jason@...edaemon.net" <jason@...edaemon.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418:
array index used before limits check ?
On Mon, 8 Jun 2015, David Binderman wrote:
> Hello there,
>
> [linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418]: (style) Array ind
> ex 'k' is used before limits check.
>
> if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY) {
>
> Suggest sanity check array index before use.
Which version of gcc is being stupid here?
Thanks,
tglx
Powered by blists - more mailing lists