aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2021-05-01 18:01:07 +0100
committerJonathan Cameron <[email protected]>2021-05-17 13:54:28 +0100
commitf65802284a3a337510d7f8f916c97d66c74f2e71 (patch)
tree9d70d07e3e71119351cf5f466eda3d17d44b07a9 /tools/perf/scripts/python
parent3ab3aa2e7bd57497f9a7c6275c00dce237d2c9ba (diff)
iio: accel: mxc4005: Fix overread of data and alignment issue.
The bulk read size is based on the size of an array that also has space for the timestamp alongside the channels. Fix that and also fix alignment of the buffer passed to iio_push_to_buffers_with_timestamp. Found during an audit of all calls to this function. Fixes: 1ce0eda0f757 ("iio: mxc4005: add triggered buffer mode for mxc4005") Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions