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
Kconfig
Makefile
ab3100.c
bq24022.c
core.c regulator: Fix display of null constraints for regulators 2010-02-12 11:19:57 +00:00
da903x.c
fixed.c
lp3971.c regulator/lp3971: vol_map out of bounds in lp3971_{ldo,dcdc}_set_voltage() 2010-02-12 11:39:49 +00:00
max1586.c
max8660.c
mc13783-regulator.c regulator: mc13783-regulator: correct the probing time. 2009-12-17 10:27:28 +00:00
pcap-regulator.c
pcf50633-regulator.c
tps6507x-regulator.c
tps65023-regulator.c
twl-regulator.c twl-regulator: Fix reg_disable functionality for 4030 and 6030 2009-12-17 10:27:29 +00:00
userspace-consumer.c
virtual.c
wm831x-dcdc.c
wm831x-isink.c
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