[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171101.204123.1453756255961804863.davem@davemloft.net>
Date: Wed, 01 Nov 2017 20:41:23 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, vadimp@...lanox.com, idosch@...lanox.com,
mlxsw@...lanox.com
Subject: Re: [patch net] mlxsw: i2c: Fix buffer increment counter for write
transaction
From: Jiri Pirko <jiri@...nulli.us>
Date: Wed, 1 Nov 2017 12:10:42 +0100
> From: Vadim Pasternak <vadimp@...lanox.com>
>
> It fixes a problem for the last chunk where 'chunk_size' is smaller than
> MLXSW_I2C_BLK_MAX and data is copied to the wrong offset, overriding
> previous data.
>
> Fixes: 6882b0aee180 ("mlxsw: Introduce support for I2C bus")
> Signed-off-by: Vadim Pasternak <vadimp@...lanox.com>
> Reviewed-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks Jiri.
Powered by blists - more mailing lists