[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<PH7PR12MB81787B702A7F976113F6DBEAC0D82@PH7PR12MB8178.namprd12.prod.outlook.com>
Date: Thu, 20 Mar 2025 13:23:05 +0000
From: Akhil R <akhilrajeev@...dia.com>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>
CC: Laxman Dewangan <ldewangan@...dia.com>, "digetx@...il.com"
<digetx@...il.com>, "andi.shyti@...nel.org" <andi.shyti@...nel.org>,
"thierry.reding@...il.com" <thierry.reding@...il.com>, Jon Hunter
<jonathanh@...dia.com>, "wsa@...nel.org" <wsa@...nel.org>,
"linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] i2c: tegra: Return if SMBUS message length is zero
> > 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.
Done. Posted a new version with this additional check.
Thanks,
Akhil
Powered by blists - more mailing lists