Re: [PATCH] i2c: xgene: Avoid dma_buffer overrun

From: Wolfram Sang
Date: Tue Oct 25 2016 - 05:50:49 EST


On Mon, Oct 10, 2016 at 10:13:10AM -0700, Hoan Tran wrote:
> SMBus block command uses the first byte of buffer for the data length.
> The dma_buffer should be increased by 1 to avoid the overrun issue.
>
> Reported-by: Phil Endecott <phil_gjouf_endecott@xxxxxxxxxxxx>
> Signed-off-by: Hoan Tran <hotran@xxxxxxx>

Added stable and applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature