diff options
author | Laura Abbott <labbott@redhat.com> | 2018-03-10 03:10:20 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-27 16:18:19 +0300 |
commit | 13b5319e92a94036ce2131f76510e108428daec8 (patch) | |
tree | 0485e859e398b8bcb2cf5b91f77ae5a2b4ab5f8f /firmware | |
parent | 48da181dac478bb517aae2483e69f3eeec24172c (diff) | |
download | linux-13b5319e92a94036ce2131f76510e108428daec8.tar.xz |
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 'firmware')
0 files changed, 0 insertions, 0 deletions