summary refs log tree commit diff
path: root/drivers/gpio/gpio-dwapb.c
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-03-09 16:10:20 -0800
committerLinus Walleij <linus.walleij@linaro.org>2018-03-27 15:18:19 +0200
commit13b5319e92a94036ce2131f76510e108428daec8 (patch)
tree0485e859e398b8bcb2cf5b91f77ae5a2b4ab5f8f /drivers/gpio/gpio-dwapb.c
parent48da181dac478bb517aae2483e69f3eeec24172c (diff)
downloadlinux-13b5319e92a94036ce2131f76510e108428daec8.tar.gz
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: Laura Abbott <labbott@redhat.com>
Reviewed-by: Nandor Han <nandor.han@ge.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-dwapb.c')
0 files changed, 0 insertions, 0 deletions