linux/drivers/iio/potentiometer
Himanshu Jha a937729c93 iio: potentiometer: ds1803: Remove VLA usage
In preparation to enabling -Wvla, remove VLA usage and replace it
with fixed a fixed length array and therefore, prevent potential
stack overflow attacks.

Fixed as a part of the discussion to remove all VLAs from the kernel:
https://lkml.org/lkml/2018/3/7/621

Cc: keescook@chromium.org
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-03-10 15:02:41 +00:00
..
ad5272.c iio: ad5272: Add support for Analog Devices digital potentiometers 2018-02-10 15:48:08 +00:00
ds1803.c iio: potentiometer: ds1803: Remove VLA usage 2018-03-10 15:02:41 +00:00
Kconfig iio: ad5272: Add support for Analog Devices digital potentiometers 2018-02-10 15:48:08 +00:00
Makefile iio: ad5272: Add support for Analog Devices digital potentiometers 2018-02-10 15:48:08 +00:00
max5481.c iio:potentiometer:max5481 drop explicit setting of the owner module. 2017-09-03 18:10:26 +01:00
max5487.c iio:potentiometer:max5487: Drop explicit setting of module owner 2017-09-03 18:10:27 +01:00
mcp4131.c iio:dpot: drop assign iio_info.driver_module 2017-08-22 21:34:10 +01:00
mcp4531.c iio:dpot: drop assign iio_info.driver_module 2017-08-22 21:34:10 +01:00
tpl0102.c iio: add SPDX identifier for various drivers 2018-02-18 11:55:19 +00:00