2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/iio/proximity
Jonathan Cameron fc11c42dd1 iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks.
This new function allows us to perform debug checks in the helper to ensure
that the overrun does not occur. Use it in all the simple cases where
either a static buffer or a structure is used in the drivers.

Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250413103443.2420727-18-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-05-21 14:20:26 +01:00
..
as3935.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
aw96103.c iio: proximity: aw96103: Constify struct iio_info​ 2024-12-07 17:54:21 +00:00
cros_ec_mkbp_proximity.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
hx9023s.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
irsd200.c iio: proximity: irsd200: Use a struct for scan and iio_push_to_buffers_with_ts() 2025-05-21 14:20:26 +01:00
isl29501.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
Kconfig iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:30:15 +01:00
Makefile iio: proximity: aw96103: Add support for aw96103/aw96105 proximity sensor 2024-09-05 19:27:06 +01:00
mb1232.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ping.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
pulsedlight-lidar-lite-v2.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
rfd77402.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
srf04.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
srf08.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
sx9310.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
sx9324.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
sx9360.c iio: proximity: sx9360: Stop using iio_device_claim_direct_scoped() 2025-02-17 12:57:31 +00:00
sx9500.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
sx_common.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
sx_common.h iio: proximity: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
vcnl3020.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
vl53l0x-i2c.c iio: proximity: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00