[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z9vCFkt3ycFDBw-i@shikoro>
Date: Thu, 20 Mar 2025 08:21:58 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Akhil R <akhilrajeev@...dia.com>
Cc: ldewangan@...dia.com, digetx@...il.com, andi.shyti@...nel.org,
thierry.reding@...il.com, jonathanh@...dia.com, wsa@...nel.org,
linux-i2c@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: tegra: Return if SMBUS message length is zero
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.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists