]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Input: zforce - don't overwrite the stack"
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Jul 2015 17:25:03 +0000 (10:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Jul 2015 17:25:03 +0000 (10:25 -0700)
commitcae2bb633bee57818d0c9fecebefc938aba33173
tree980a08df3d17a6d3c6176d86d938b4f3dbcd6eef
parent1a35cf4a443aa53549b40c19681a32eb3614a103
Revert "Input: zforce - don't overwrite the stack"

This reverts commit eb459cfcd63fb42931f678ac61541152342ec312 because
with given FRAME_MAXSIZE of 257 the check will never trigger and it
causes warnings from GCC (with -Wtype-limits). Also the check was
incorrect as it was not accounting for the already read 2 bytes of data
stored in the buffer.
drivers/input/touchscreen/zforce_ts.c