Re: [PATCH] gpio: xra1403: Switch to a fixed upper bound for registers

From: Linus Walleij
Date: Thu Apr 12 2018 - 04:17:13 EST


On Mon, Apr 9, 2018 at 11:07 PM, Laura Abbott <labbott@xxxxxxxxxx> wrote:

> Geert Uytterhoeven pointed out that the number of register was a
> fixed upper bound so there's no need to use a dynamically allocated
> array in place of a VLA. Use the defined upper bound.
>
> Suggested-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx>

Patch applied for v4.18!

Yours,
Linus Walleij