Re: [PATCH 2/4] gpio: Remove VLA from MAX3191X driver

From: Linus Walleij
Date: Mon Mar 26 2018 - 05:08:02 EST


On Sat, Mar 10, 2018 at 1:10 AM, Laura Abbott <labbott@xxxxxxxxxx> wrote:

>
> The new challenge is to remove VLAs from the kernel
> (see https://lkml.org/lkml/2018/3/7/621)
>
> This patch replaces several a VLA with an appropriate call to
> kmalloc_array.
>
> Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx>

Patch applied.

It's very simple and straight-forward after all.

Yours,
Linus Walleij