linux-yocto/drivers/iio
Jonathan Cameron d8c5d87a43 iio: light: as73211: Ensure buffer holes are zeroed
[ Upstream commit 433b99e922943efdfd62b9a8e3ad1604838181f2 ]

Given that the buffer is copied to a kfifo that ultimately user space
can read, ensure we zero it.

Fixes: 403e5586b5 ("iio: light: as73211: New driver")
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250802164436.515988-2-jic23@kernel.org
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
[ Adjust context ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:24:37 +02:00
..
accel iio: accel: fxls8962af: Fix temperature calculation 2025-06-27 11:05:34 +01:00
adc iio: adc: ad_sigma_delta: change to buffer predisable 2025-08-28 16:24:36 +02:00
addac
afe iio: afe: rescale: Accept only offset channels 2023-11-08 17:26:42 +01:00
amplifiers
buffer iio: buffer-dmaengine: fix releasing dma channel on error 2024-09-12 11:07:50 +02:00
cdc
chemical iio: chemical: sps30: use aligned_s64 for timestamp 2025-05-22 14:08:21 +02:00
common iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency() 2024-10-22 15:40:44 +02:00
dac iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig 2024-10-22 15:40:44 +02:00
dummy iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer 2025-01-23 17:15:54 +01:00
frequency
gyro iio: gyro: fxas21002c: Fix missing data update in trigger handler 2025-01-23 17:15:55 +01:00
health
humidity
imu iio: imu: inv_icm42600: change invalid data error to -EBUSY 2025-08-28 16:24:37 +02:00
light iio: light: as73211: Ensure buffer holes are zeroed 2025-08-28 16:24:37 +02:00
magnetometer iio: magnetometer: ak8975: Fix reading for ak099xx sensors 2024-10-17 15:11:40 +02:00
multiplexer
orientation
position
potentiometer
potentiostat
pressure iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe() 2025-08-28 16:24:35 +02:00
proximity iio: proximity: isl29501: fix buffered read on big-endian systems 2025-08-28 16:24:35 +02:00
resolver
temperature
test
trigger
iio_core_trigger.h
iio_core.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c iio: core: fix memleak in iio_device_register_sysfs 2024-02-23 08:55:07 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c iio: inkern: call iio_device_put() only on mapped devices 2025-01-23 17:15:55 +01:00
Kconfig
Makefile
TODO