[PATCH 3/5] i3c: svc: rename read_len as actual_len

Miquel Raynal miquel.raynal at bootlin.com
Tue Oct 17 07:07:29 PDT 2023


Hi Frank,

Frank.Li at nxp.com wrote on Mon, 16 Oct 2023 11:46:30 -0400:

> I3C transfer, target can early terminate transfer.
> I2C transfer, target can NACK write transfer.
> 
> 'actual_len' is better name than 'read_len'.

I don't find read_len confusing because it may mean "how much bytes
were actually read" rather than "how much we need to read". But if
actual_len sounds better, I'm fine.

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

> 
> Signed-off-by: Frank Li <Frank.Li at nxp.com>

Thanks,
Miquèl



More information about the linux-i3c mailing list