commit | 13b5319e92a94036ce2131f76510e108428daec8 | [log] [tgz] |
---|---|---|
author | Laura Abbott <labbott@redhat.com> | Fri Mar 09 16:10:20 2018 -0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Mar 27 15:18:19 2018 +0200 |
tree | 0485e859e398b8bcb2cf5b91f77ae5a2b4ab5f8f | |
parent | 48da181dac478bb517aae2483e69f3eeec24172c [diff] |
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>