kernel_optimize_test/drivers/iio/accel
Jonathan Cameron f0bc78df4a iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
[ Upstream commit 334883894bc1e145a1e0f5de1b0d1b6a1133f0e6 ]

To make code more readable, use a structure to express the channel
layout and ensure the timestamp is 8 byte aligned.

Found during an audit of all calls of this function.

Fixes: db6a19b825 ("iio: accel: Add trigger support for STK8BA50")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210501170121.512209-8-jic23@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:35 +02:00
..
adis16201.c
adis16209.c
adxl345_core.c
adxl345_i2c.c
adxl345_spi.c
adxl345.h
adxl372_i2c.c
adxl372_spi.c
adxl372.c
adxl372.h
bma180.c
bma220_spi.c
bma400_core.c
bma400_i2c.c
bma400_spi.c
bma400.h
bmc150-accel-core.c
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
cros_ec_accel_legacy.c
da280.c
da311.c
dmard06.c
dmard09.c
dmard10.c
hid-sensor-accel-3d.c iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-07-14 16:56:34 +02:00
Kconfig
kxcjk-1013.c iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-07-14 16:56:35 +02:00
kxsd9-i2c.c
kxsd9-spi.c
kxsd9.c
kxsd9.h
Makefile
mc3230.c
mma7455_core.c
mma7455_i2c.c
mma7455_spi.c
mma7455.h
mma7660.c
mma8452.c
mma9551_core.c
mma9551_core.h
mma9551.c
mma9553.c
mxc4005.c iio: accel: mxc4005: Fix overread of data and alignment issue. 2021-07-14 16:56:35 +02:00
mxc6255.c
sca3000.c
ssp_accel_sensor.c
st_accel_buffer.c
st_accel_core.c
st_accel_i2c.c
st_accel_spi.c
st_accel.h
stk8ba50.c iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-07-14 16:56:35 +02:00
stk8312.c iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-07-14 16:56:35 +02:00