Re: [PATCH v3] gpio: Remove VLA from stmpe driver

From: Linus Walleij
Date: Thu May 24 2018 - 03:30:29 EST


On Wed, Mar 28, 2018 at 7:59 PM, Laura Abbott <labbott@xxxxxxxxxx> wrote:

> The new challenge is to remove VLAs from the kernel
> (see https://lkml.org/lkml/2018/3/7/621)
>
> The number of GPIOs on the supported chips is fairly small
> so stack allocate to a known upper bound and spit out a warning
> if any new chips have more gpios.
>
> Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx>

Patch applied with the review tags!

Yours,
Linus Walleij