Re: [PATCH V2] auxdisplay: lcd2s: add error handling for i2c transfers

From: Andy Shevchenko

Date: Thu Mar 12 2026 - 10:25:20 EST


On Thu, Mar 12, 2026 at 09:25:02PM +0800, Wang Jun wrote:
> The lcd2s_print() and lcd2s_gotoxy() functions currently ignore the
> return value of lcd2s_i2c_master_send(), which can fail. This can lead
> to silent data loss or incorrect cursor positioning.
>
> Add proper error checking: if the number of bytes sent does not match
> the expected length, return -EIO; otherwise propagate any error code
> from the I2C transfer.

Why?
Where is the changelog if it's a v2?

--
With Best Regards,
Andy Shevchenko