Re: [PATCH] i2c: tegra: Return if SMBUS message length is zero

From: Wolfram Sang
Date: Thu Mar 20 2025 - 03:22:21 EST


On Thu, Mar 20, 2025 at 11:52:01AM +0530, Akhil R wrote:
> For SMBUS block read, do not continue to read if the message length
> passed from the device is '0'.

You probably should also check for I2C_SMBUS_BLOCK_MAX while here.

Attachment: signature.asc
Description: PGP signature