diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-01 18:13:48 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-17 13:54:30 +0100 |
commit | 8979b67ec61abc232636400ee8c758a16a73c95f (patch) | |
tree | 9df51d6407be548a03056559c3d10575247ae964 /block/bounce.c | |
parent | 8dea228b174ac9637b567e5ef54f4c40db4b3c41 (diff) | |
download | linux-8979b67ec61abc232636400ee8c758a16a73c95f.tar.bz2 |
iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
Add __aligned(8) to ensure the buffer passed to
iio_push_to_buffers_with_timestamp() is suitable for the naturally
aligned timestamp that will be inserted.
Here structure is not used, because this buffer is also used
elsewhere in the driver.
Fixes: 67e17300dc1d ("iio: potentiostat: add LMP91000 support")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Matt Ranostay <matt.ranostay@konsulko.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Link: https://lore.kernel.org/r/20210501171352.512953-8-jic23@kernel.org
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions