]> git.baikalelectronics.ru Git - kernel.git/commit
Input: stmpe-keypad - remove VLA usage
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sat, 10 Mar 2018 18:16:41 +0000 (10:16 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Mar 2018 18:18:33 +0000 (10:18 -0800)
commitec46a834e3467bcd0f74c0d48297e6f0914f6ead
treeb165680a743f22982099baaffc76895817befa31
parentedc8c381323283ca10511e90a19a15d330401592
Input: stmpe-keypad - remove VLA usage

In preparation to enabling -Wvla, remove VLA and replace it with a
fixed-length array instead.

Fixed as part of the directive to remove all VLAs from the kernel:
https://lkml.org/lkml/2018/3/7/621

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/stmpe-keypad.c