Re: [PATCH] gpio: ep93xx: fix test for end of loop

From: Linus Walleij
Date: Thu Sep 06 2018 - 10:32:05 EST


On Thu, Sep 6, 2018 at 3:34 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> The problem is that if port == ARRAY_SIZE() and "gc == &epg->gc[port]"
> then that should be treated as invalid.
>
> Fixes: fd935fc421e7 ("gpio: ep93xx: Do not pingpong irq numbers")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij