linux/drivers/input
Irina Tirdea 0e0432f04e Input: goodix - fix variable length array warning
Fix sparse warning:

drivers/input/touchscreen/goodix.c:182:26: warning: Variable length array is used.

Replace the variable length array with fixed length.

Some Goodix devices have maximum 5 touch points, while others have 10 touch
points. Using the maximum length (80 bytes) for all devices will lead to
wasting 40 bytes on stack when using devices with maximum 5 touch points.
However, that is preferable to using kmalloc which will use even more
resources.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Acked-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-06-09 11:23:26 -07:00
..
gameport Input: initialize device counter variables with -1 2014-12-03 15:27:17 -08:00
joystick Input: xpad - add rumble support for Xbox One controller 2015-04-14 17:01:53 -07:00
keyboard Input: update email-id of Rajeev Kumar 2015-05-22 10:59:55 -07:00
misc Input: add OnKey driver for DA9063 MFD part 2015-06-09 11:23:24 -07:00
mouse Input: elan_i2c - add product IDs FW names 2015-06-08 17:12:25 -07:00
serio Input: gscps2 - drop pci_ids dependency 2015-04-06 09:38:08 -07:00
tablet Input: gtco - use sign_extend32() for sign extension 2015-01-26 23:07:45 -08:00
touchscreen Input: goodix - fix variable length array warning 2015-06-09 11:23:26 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - use kvfree() in evdev_release() 2015-05-15 15:58:39 -07:00
ff-core.c Input: ff-core - fix typo in comment to input_ff_erase() 2015-05-20 14:45:42 -07:00
ff-memless.c
input-compat.c
input-compat.h
input-mt.c Input: MT - make slot assignment work for overcovered solutions 2015-04-06 09:37:33 -07:00
input-polldev.c Input: implement managed polled input devices 2014-05-14 16:40:04 -07:00
input.c Input: fix typo in comment to input_handler_for_each_handle() 2015-05-20 14:45:41 -07:00
joydev.c
Kconfig Input: mousedev - allow disabling even without CONFIG_EXPERT 2013-10-31 08:46:07 -07:00
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix race when creating mixed device 2014-03-29 14:44:23 -07:00
sparse-keymap.c treewide: Fix typo in Documentation/DocBook 2014-02-19 14:58:17 +01:00