RE: [PATCH v2 RESEND] i2c: tegra: check msg length in SMBUS block read

Akhil R
2025-04-29T09:51:17Z

> Hi Akhil,
>
> > Yes. We have had issues where the client device sends '0' as length if
> > the
>
> Can you reveal which client that is?

The issue came from a downstream change in the file
drivers/char/ipmi/ssif_bmc.c in the OpenBMC Linux tree.

>
> > transfer is terminated abruptly at the client's side. The actual fix
> > is in the client's driver, but this check here would ensure that the
> > master does not run into trouble either.
>
> Correct.
>
> Happy hacking!

Regards,
Akhil