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!

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
Please read the FAQ at