[PATCH 4/4] mfd: stmpe: Rid variable length array Sparse warnings

Linus Walleij linus.walleij at linaro.org
Fri Aug 29 06:46:35 PDT 2014


On Thu, Aug 28, 2014 at 4:44 PM, Lee Jones <lee.jones at linaro.org> wrote:

> Numbers are generated by taking the largest currently used values.
>
> drivers/mfd/stmpe.c:252:17:
>   warning: Variable length array is used.
> drivers/mfd/stmpe.c:857:16:
>   warning: Variable length array is used.
>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list