diff options
author | Jason A. Donenfeld <[email protected]> | 2023-03-19 21:36:36 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-03-19 23:07:02 -0700 |
commit | 8980f190947ba29f23110408e712444884b74251 (patch) | |
tree | 914ec1af2402f219718cc441bf710d6881b02cfb /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | ffa6206ebf8d39e83d87ac226df68dbbe155819a (diff) |
Input: focaltech - use explicitly signed char type
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 <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Cc: [email protected]
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217211
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions