Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_wit…
…h_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: 121354b ("iio: magnetometer: Add driver support for PNI RM3100") Signed-off-by: Jonathan Cameron <[email protected]> Cc: Song Qiang <[email protected]> Reviewed-by: Nuno Sá <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information