]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit3213afb8bf5cf8d8c68a2c2376bf1dda52afae5d
tree980a08df3d17a6d3c6176d86d938b4f3dbcd6eef
parentd58069265c9d15c04c9e3832cd1d9dffe9d4d5f6
Revert "Input: zforce - don't overwrite the stack"

This reverts commit 7d01cd261c76f95913c81554a751968a1d282d3a 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