lkml.org 
[lkml]   [2013]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio: lpc32xx: Fix off-by-one valid range checking for bank
From
On Sun, Apr 7, 2013 at 2:28 PM, Axel Lin <axel.lin@ingics.com> wrote:

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

Yep, that's right. Patch applied!

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-04-10 22:21    [W:0.031 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site