Re: [PATCH v5] m68k: Fix atari mouse movement
From: Dmitry Torokhov
Date: Thu Nov 12 2026 - 23:48:00 EST
On Wed, Oct 21, 2026 at 12:23:36PM +1000, Miro Kropacek wrote:
> Kernels are built with -funsigned-char since version 6.2, resulting in
> the signed 8-bit position deltas reported by the IKBD being
> misinterpreted as unsigned.
>
> The hook is handed a raw IKBD packet, so take it as a byte stream and
> apply the sign to the two displacement values alone.
>
> Fixes: 3bc753c06dd02a35 ("kbuild: treat char as always unsigned")
> Link: https://lists.debian.org/debian-68k/2026/08/msg00000.html
> Suggested-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Signed-off-by: Miro Kropacek <miro.kropacek@xxxxxxxxx>
> Cc: linux-input <linux-input@xxxxxxxxxxxxxxx>
Applied, thank you.
--
Dmitry