summaryrefslogtreecommitdiffstats
path: root/fs/affs
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-02-12 12:30:21 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-02-12 12:39:49 +0100
commit62737d445b149eaf0beac50de8d856b5e94150be (patch)
treef885a0c65d63cefa8794398228c686a1c733e82c /fs/affs
parentregulator: Fix display of null constraints for regulators (diff)
downloadlinux-62737d445b149eaf0beac50de8d856b5e94150be.tar.xz
linux-62737d445b149eaf0beac50de8d856b5e94150be.zip
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>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions