diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-09-04 17:06:41 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-09-05 12:15:52 +0200 |
commit | 49990e6efe576b8707584398f93198b5aa182ab7 (patch) | |
tree | e2ad8126f0d930d314fb6f771c87ab4f96977924 /crypto/des_generic.c | |
parent | regulator: 88pm8607 - fix value range checking for accessing info->vol_table (diff) | |
download | linux-49990e6efe576b8707584398f93198b5aa182ab7.tar.xz linux-49990e6efe576b8707584398f93198b5aa182ab7.zip |
regulator: ab8500 - fix off-by-one value range checking for selector
selector is used as array index of info->supported_voltages
Thus the valid value range should be 0 .. info->voltages_len -1
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@openource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'crypto/des_generic.c')
0 files changed, 0 insertions, 0 deletions