]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: wacom_w8001 - allocate additional space for 'phys'
authorJason Gerecke <killertofu@gmail.com>
Fri, 16 Aug 2019 22:07:15 +0000 (15:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Aug 2019 19:03:46 +0000 (12:03 -0700)
commit2da9d2b5b9d64cf5228dd3fb4d1220ff3fec8440
tree86b733ee1b61e70e32d2fe37da4368ed0d660749
parent62c3801619e16b68a37ea899b76572145dfe41c9
Input: wacom_w8001 - allocate additional space for 'phys'

GCC warns that the output of our call to 'snprintf' in 'w8001_connect'
may be truncated since both 'serio->phys' and 'w8001->phys' are 32 bytes
in length. Increase the amount of space allocated for the latter to
compensate.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wacom_w8001.c