Skip to content
Commit 13b5319e authored by Laura Abbott's avatar Laura Abbott Committed by Linus Walleij
Browse files

gpio: Remove VLA from xra1403 driver

The new challenge is to remove VLAs from the kernel
(see https://lkml.org/lkml/2018/3/7/621

)

This patch replaces a VLA with an appropriate call to kmalloc_array.

Signed-off-by: default avatarLaura Abbott <labbott@redhat.com>
Reviewed-by: default avatarNandor Han <nandor.han@ge.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 48da181d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment