Re: [PATCH] Input: atmel_mxt_ts - Set byte_offset as signed

From: Dmitry Torokhov

Date: Mon May 04 2026 - 13:01:02 EST


On Mon, May 04, 2026 at 10:55:03AM +0000, Ricardo Ribalda wrote:
> The calculations done to obtain byte_offset can result into a negative
> number, fix its type.
>
> This patch fixes the following sparse error:
>
> drivers/input/touchscreen/atmel_mxt_ts.c:1481:44: warning: unsigned value that used to be signed checked against zero?
> drivers/input/touchscreen/atmel_mxt_ts.c:1479:49: signed value source
>
> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>

Applied, thank you.

--
Dmitry