linux/drivers/input
Jason A. Donenfeld f8bdc959ce Input: focaltech - use explicitly signed char type
commit 8980f19094 upstream.

The recent change of -funsigned-char causes additions of negative
numbers to become additions of large positive numbers, leading to wrong
calculations of mouse movement. Change these casts to be explicitly
signed, to take into account negative offsets.

Fixes: 3bc753c06d ("kbuild: treat char as always unsigned")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217211
Link: https://lore.kernel.org/r/20230318133010.1285202-1-Jason@zx2c4.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-06 12:10:50 +02:00
..
gameport input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
joystick Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON 2023-04-06 12:10:49 +02:00
keyboard Merge branch 'next' into for-linus 2022-10-09 22:30:23 -07:00
misc Input: iqs7222 - add support for IQS7222A v1.13+ 2022-12-31 13:33:08 +01:00
mouse Input: focaltech - use explicitly signed char type 2023-04-06 12:10:50 +02:00
rmi4 Input: synaptics-rmi4 - convert to use sysfs_emit() APIs 2022-09-27 09:00:41 -07:00
serio Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix 2023-04-06 12:10:50 +02:00
tablet input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
touchscreen Input: exc3000 - properly stop timer on shutdown 2023-03-17 08:50:19 +01:00
apm-power.c
evbug.c
evdev.c
ff-core.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
ff-memless.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
input-compat.c
input-compat.h
input-core-private.h
input-leds.c
input-mt.c
input-poller.c
input-poller.h
input.c
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c
vivaldi-fmap.c