commit | 603616017c35f4d0fbdbcace72adf9bf949c4a65 | [log] [tgz] |
---|---|---|
author | Hoan Tran <hotran@apm.com> | Mon Oct 10 10:13:10 2016 -0700 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Oct 25 11:50:52 2016 +0200 |
tree | ada121761e6a90165f86d2578087750e2afea7ac | |
parent | 60a951af8e1656e2a17a96d64941aafe0668d750 [diff] |
i2c: xgene: Avoid dma_buffer overrun 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@chezphil.org> Signed-off-by: Hoan Tran <hotran@apm.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org