[PATCH 0/4] VLA removal from the GPIO subsystem

From: Laura Abbott
Date: Fri Mar 09 2018 - 19:10:38 EST


Hi,

For those who haven't seen it, there's an effort to remove VLAs from the
kernel so we can turn on -Wvla in the name of security. See
https://lkml.org/lkml/2018/3/7/621 for more details and discussion.

This is a series to remove a few VLAs from the gpio subsystem. These are
compile tested only so I'd appreciate reviews and tests from
maintainers. When these get Acked, I expect these to just go through the
GPIO tree like usual.

Thanks,
Laura

Laura Abbott (4):
gpio: Remove VLA from gpiolib
gpio: Remove VLA from MAX3191X driver
gpio: Remove VLA from xra1403 driver
gpio: Remove VLA from stmpe driver

drivers/gpio/gpio-max3191x.c | 7 +++++-
drivers/gpio/gpio-stmpe.c | 7 +++++-
drivers/gpio/gpio-xra1403.c | 8 ++++++-
drivers/gpio/gpiolib.c | 55 ++++++++++++++++++++++++++++++++++++++------
4 files changed, 67 insertions(+), 10 deletions(-)

--
2.14.3