diff options
author | Laura Abbott <labbott@redhat.com> | 2018-03-09 16:10:20 -0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-27 15:18:19 +0200 |
commit | 13b5319e92a94036ce2131f76510e108428daec8 (patch) | |
tree | 0485e859e398b8bcb2cf5b91f77ae5a2b4ab5f8f /tools/perf/util/scripting-engines/trace-event-python.c | |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions