Re: [PATCH v2 1/5] m68k: Fix atari mouse movement
Geert Uytterhoeven <[email protected]>
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-m68k |
|---|---|
| Message-ID | <CAMuHMdXyOSOahXjXbJksXgrNY8WOjwf-cqx_HrtcLy9s_Yfz2w@mail.gmail.com> |
On Sun, 16 Aug 2026 at 09:38, Michael Schmitz <[email protected]> wrote: > From: Miro Kropacek <[email protected]> > > Kernels are built with -funsigned-char since version 6.2, resulting > in signed mouse position deltas getting misinterpreted as unsigned. > > Cast deltas passed in (unsigned) scancode buffer to correctly > interpret sign. > > Fixes: 3bc753c06dd02a35 ("kbuild: treat char as always unsigned") > Link: https://lists.debian.org/debian-68k/2026/08/msg00000.html > Signed-off-by: Miro Kropacek <[email protected]> > Reviewed-by: Michael Schmitz <[email protected]> > Signed-off-by: Michael Schmitz <[email protected]> > Cc: linux-input <[email protected]> > > --- > Changes in v2: > > - change atamouse_interrupt function signature to signed char *, > drop signed casts (Geert) Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds