Re: [RFC PATCH 2/2] i2c: octeon: check correct size of maximum RECV_LEN packet

2020-07-24 Thread Wolfram Sang
On Sun, Jun 28, 2020 at 01:52:45PM +0200, Wolfram Sang wrote: > I2C_SMBUS_BLOCK_MAX defines already the maximum number as defined in the > SMBus 2.0 specs. I don't see a reason to add 1 here. > > Fixes: 886f6f8337dd ("i2c: octeon: Support I2C_M_RECV_LEN") > Signed-off-by: Wolfram Sang > ---

[RFC PATCH 2/2] i2c: octeon: check correct size of maximum RECV_LEN packet

2020-06-28 Thread Wolfram Sang
I2C_SMBUS_BLOCK_MAX defines already the maximum number as defined in the SMBus 2.0 specs. I don't see a reason to add 1 here. Fixes: 886f6f8337dd ("i2c: octeon: Support I2C_M_RECV_LEN") Signed-off-by: Wolfram Sang --- Only build tested, I don't have the HW. Please let me know if I overlooked