From: Jiri Pirko
Date: Wed, 1 Nov 2017 12:10:42 +0100
> From: Vadim Pasternak
>
> 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
From: Vadim Pasternak
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
Reviewed-by: Ido Schimme