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
..
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2012-11-24 00:05:38 -08:00
2013-09-20 09:58:29 -07:00
2014-12-17 10:06:02 -08:00
2011-11-15 22:24:22 -08:00
2014-11-02 00:10:07 -07:00
2015-03-19 12:16:18 -07:00
2015-05-20 14:49:36 -07:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2015-03-23 11:04:48 -07:00
2012-11-27 23:05:19 -08:00
2015-03-24 11:27:52 -07:00
2014-11-02 00:10:07 -07:00
2014-12-05 02:54:17 +01:00
2013-07-06 21:57:06 -07:00
2013-06-30 21:24:24 -07:00
2013-11-11 00:01:45 -08:00
2014-11-02 00:10:07 -07:00
2013-07-06 21:57:06 -07:00
2013-12-15 02:54:04 -08:00
2013-06-30 21:24:16 -07:00
2013-07-06 21:57:06 -07:00
2014-10-20 16:20:41 +02:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2015-03-24 12:01:11 -07:00
2014-11-02 00:10:07 -07:00
2014-11-02 00:10:07 -07:00
2015-04-20 10:28:21 -07:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2015-06-09 11:23:26 -07:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2012-03-12 22:17:56 -07:00
2013-09-18 07:53:30 -07:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2014-10-20 16:20:41 +02:00
2015-05-26 14:16:08 -07:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2015-03-24 11:27:52 -07:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-07-30 22:52:56 -07:00
2012-03-16 23:06:19 -07:00
2010-10-18 11:03:14 +02:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00
2015-03-24 12:00:40 -07:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2015-02-01 11:50:35 -08:00
2015-05-06 16:56:55 -07:00
2014-11-02 00:10:07 -07:00
2015-05-26 14:16:08 -07:00
2015-03-23 09:11:11 -07:00
2013-12-01 22:17:35 -08:00
2015-03-11 10:44:30 -07:00
2015-02-03 11:50:39 -08:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:41 +02:00
2014-01-06 23:23:57 -08:00
2014-11-02 00:10:07 -07:00
2015-03-31 14:41:33 -07:00
2014-12-17 10:06:02 -08:00
2015-03-24 09:29:34 -07:00
2014-10-20 16:20:41 +02:00
2014-11-02 00:10:07 -07:00
2014-01-06 23:23:57 -08:00
2014-10-24 17:27:31 -07:00
2014-10-20 16:20:41 +02:00
2011-07-04 19:31:47 -07:00
2014-09-09 16:52:09 -07:00
2014-09-09 16:52:09 -07:00
2015-05-13 10:30:13 -07:00
2014-01-06 23:23:57 -08:00