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 Input: appletouch - initialize work before device registration 2021-12-30 21:04:04 -08:00
atarimouse.c
bcm5974.c Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag 2022-06-07 13:44:39 -07:00
byd.c Input: byd - fix typo in a comment 2021-12-20 00:59:50 -08:00
byd.h
cyapa.c Input: cyapa - switch to using devm_add_action_or_reset() 2020-12-09 18:17:16 -08:00
cyapa.h
cyapa_gen3.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
cyapa_gen5.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
cyapa_gen6.c Input: cyapa_gen6 - aligned "*" each line 2022-06-22 16:14:37 -07:00
cypress_ps2.c Input: cypress_ps2 - fix typo in comment 2022-05-21 12:48:39 -07:00
cypress_ps2.h
elan_i2c.h Input: elan_i2c - reduce the resume time for controller in Whitebox 2021-09-06 22:30:34 -07:00
elan_i2c_core.c Input: elan_i2c - convert to use dev_groups 2022-08-02 10:17:10 -07:00
elan_i2c_i2c.c
elan_i2c_smbus.c Merge branch 'next' into for-linus 2020-12-14 16:27:23 -08:00
elantech.c Input: elantech - fix stack out of bound access in elantech_change_report_id() 2021-11-29 00:11:15 -08:00
elantech.h Input: elantech - fix protocol errors for some trackpoints in SMBus mode 2020-12-11 00:15:05 -08:00
focaltech.c Input: focaltech - use explicitly signed char type 2023-04-06 12:10:50 +02:00
focaltech.h
gpio_mouse.c Input: gpio_mouse - fix typos in comments 2022-06-22 15:29:35 -07:00
hgpk.c Input: hgpk - fix repeated word in a comment 2022-09-08 14:06:23 -07:00
hgpk.h
inport.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
Kconfig Input: vsxxxaa - fix Kconfig spelling mistake 2020-12-04 12:27:35 -08:00
lifebook.c
lifebook.h
logibm.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
logips2pp.c
logips2pp.h
Makefile
maplemouse.c
navpoint.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
pc110pad.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
psmouse-base.c Input: psmouse - switch to using dev_groups for driver-specific attributes 2022-09-03 12:31:18 -07:00
psmouse-smbus.c Input: psmouse-smbus - avoid flush_scheduled_work() usage 2022-05-16 21:10:14 -07:00
psmouse.h
pxa930_trkball.c ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
rpcmouse.c
sentelic.c
sentelic.h
sermouse.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
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 i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
synaptics_usb.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
touchkit_ps2.c
touchkit_ps2.h
trackpoint.c Input: trackpoint - use kobj_to_dev() 2021-06-19 22:36:26 -07:00
trackpoint.h
vmmouse.c Input: vmmouse - disable vmmouse before entering suspend mode 2022-05-18 15:02:13 -07:00
vmmouse.h
vsxxxaa.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00