diff options
author | Fan Du <fan.du@intel.com> | 2014-09-16 17:21:04 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-05 14:52:11 -0700 |
commit | e7559b0221c2f20ef669b9fa3af35802fb82b232 (patch) | |
tree | 22fbc0a487b9aef66a5ba466fded88aa9fa213b6 /kernel/trace | |
parent | f486b8ed93220f0ddaae8780cdaed6316d7dccc0 (diff) |
i2c: ismt: use correct length when copy buffer
commit 979bbf7b7ae75cfc06e09d09eda38009a3bdc4a4 upstream.
In block write mode, when encapsulating dma_buffer, first element is
'command', the rest is data buffer, so only copy actual data buffer
starting from block[1] with the size indicating by block[0].
Signed-off-by: Fan Du <fan.du@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions