]> git.baikalelectronics.ru Git - kernel.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)
commit2c6278a9a5f344a99b90f6a939398356a177542f
tree86b733ee1b61e70e32d2fe37da4368ed0d660749
parent0f42ea56c0f6f8c69a7c814a97d83c4adf187cde
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