linux/drivers/regulator
Roel Kluin 62737d445b regulator/lp3971: vol_map out of bounds in lp3971_{ldo,dcdc}_set_voltage()
After `for (val = LDO_VOL_MIN_IDX; val <= LDO_VOL_MAX_IDX; val++)', if no break
occurs, val reaches LDO_VOL_MIN_IDX + 1, which is out of bounds for
ldo45_voltage_map[] and ldo123_voltage_map[].

Similarly BUCK_TARGET_VOL_MAX_IDX + 1 is out of bounds for buck_voltage_map[].

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-02-12 11:39:49 +00:00
..
88pm8607.c regulator: Ensure val is initialised in 88pm8607 choose_voltage() 2009-12-17 10:27:25 +00:00
ab3100.c Fix some AB3100 regulator issues 2009-12-17 10:27:25 +00:00
bq24022.c
core.c regulator: Fix display of null constraints for regulators 2010-02-12 11:19:57 +00:00
da903x.c regulator: keep index within bounds in da9034_get_ldo12_voltage() 2009-12-17 10:27:25 +00:00
fixed.c dereferencing freed memory regulator_fixed_voltage_remove() 2009-11-16 12:40:25 +00:00
Kconfig regulator: add 88PM8607 PMIC driver 2009-12-17 10:27:23 +00:00
lp3971.c regulator/lp3971: vol_map out of bounds in lp3971_{ldo,dcdc}_set_voltage() 2010-02-12 11:39:49 +00:00
Makefile regulator/mc13783: rename source file to match other drivers 2009-12-17 10:27:26 +00:00
max1586.c
max8660.c regulator: add driver for MAX8660/8661 2009-12-17 10:27:22 +00:00
mc13783-regulator.c regulator: mc13783-regulator: correct the probing time. 2009-12-17 10:27:28 +00:00
pcap-regulator.c
pcf50633-regulator.c mfd: Fix pcf50633-regulator drvdata usage 2009-12-13 19:21:20 +01:00
tps6507x-regulator.c regulator: tps650xx - build fixes for x86_64 2009-09-22 13:32:43 +01:00
tps65023-regulator.c regulator: tps650xx - build fixes for x86_64 2009-09-22 13:32:43 +01:00
twl-regulator.c twl-regulator: Fix reg_disable functionality for 4030 and 6030 2009-12-17 10:27:29 +00:00
userspace-consumer.c regulator: userspace: use sysfs_create_group 2009-09-22 13:32:41 +01:00
virtual.c regulator: Improve virtual consumer probe error handling 2009-09-22 13:32:39 +01:00
wm831x-dcdc.c regulator: Implement WM831x BuckWise DC-DC convertor DVS support 2009-12-17 10:27:22 +00:00
wm831x-isink.c regulator: Initialise wm831x structure pointor for ISINK driver 2009-12-02 19:37:16 +00:00
wm831x-ldo.c regulator: wm831x_reg_read() failure unnoticed in wm831x_aldo_get_mode() 2009-12-17 10:27:30 +00:00
wm8350-regulator.c regulator: Specify REGULATOR_CHANGE_STATUS for WM835x LED constraints 2010-02-01 13:52:44 +00:00
wm8400-regulator.c