]> asedeno.scripts.mit.edu Git - linux.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)
commit1c4bfce1c6045a7c5191949f6bd74662fb9bf02d
treeb165680a743f22982099baaffc76895817befa31
parentb56af54ac78c54a519d82813836f305d7f76ef27
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