Re: [PATCH] gpio: lpc32xx: Fix off-by-one valid range checking for bank

From: Linus Walleij
Date: Wed Apr 10 2013 - 15:49:19 EST


On Sun, Apr 7, 2013 at 2:28 PM, Axel Lin <axel.lin@xxxxxxxxxx> wrote:

> The valid bank should be 0 ... ARRAY_SIZE(lpc32xx_gpiochip) - 1.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Yep, that's right. Patch applied!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/