android_kernel_msm-6.1_noth.../drivers/input/mouse
Jason A. Donenfeld f8bdc959ce Input: focaltech - use explicitly signed char type
commit 8980f190947ba29f23110408e712444884b74251 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: 3bc753c06dd0 ("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
..
alps.c Input: alps - fix compatibility with -funsigned-char 2023-04-06 12:10:50 +02:00
alps.h
amimouse.c
appletouch.c
atarimouse.c
bcm5974.c
byd.c
byd.h
cyapa.c
cyapa.h
cyapa_gen3.c
cyapa_gen5.c
cyapa_gen6.c
cypress_ps2.c
cypress_ps2.h
elan_i2c.h
elan_i2c_core.c
elan_i2c_i2c.c
elan_i2c_smbus.c
elantech.c
elantech.h
focaltech.c Input: focaltech - use explicitly signed char type 2023-04-06 12:10:50 +02:00
focaltech.h
gpio_mouse.c
hgpk.c
hgpk.h
inport.c
Kconfig
lifebook.c
lifebook.h
logibm.c
logips2pp.c
logips2pp.h
Makefile
maplemouse.c
navpoint.c
pc110pad.c
psmouse-base.c
psmouse-smbus.c
psmouse.h
pxa930_trkball.c
rpcmouse.c
sentelic.c
sentelic.h
sermouse.c
synaptics.c Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode" 2023-02-01 08:34:50 +01:00
synaptics.h
synaptics_i2c.c
synaptics_usb.c
touchkit_ps2.c
touchkit_ps2.h
trackpoint.c
trackpoint.h
vmmouse.c
vmmouse.h
vsxxxaa.c