summaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-configfs.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-06-13 16:22:58 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-06-14 11:42:41 +0100
commitb8f939fd20690623cb24845a563e7bc1e4a21482 (patch)
tree9d172e565961727d51dd911789a8f9650ce64af9 /drivers/iio/industrialio-configfs.c
parent61fa5dfa5f52806f5ce37a0ba5712c271eb22f98 (diff)
iio: magn: rm3100: 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 an explicit structure is not used, because this buffer is used in a non-trivial way for data repacking. Fixes: 121354b2eceb ("iio: magnetometer: Add driver support for PNI RM3100") Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Song Qiang <songqiang1304521@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20210613152301.571002-6-jic23@kernel.org
Diffstat (limited to 'drivers/iio/industrialio-configfs.c')
0 files changed, 0 insertions, 0 deletions