diff options
author | 2011-08-04 16:18:11 +0800 | |
---|---|---|
committer | 2011-08-08 17:15:08 +0100 | |
commit | 99cd25ce10249c7f9d7172fe2ed266b023cd3323 (patch) | |
tree | a3a966425ec2661cf94661f68691f6207c303c67 /kernel/irq/manage.c | |
parent | regulator: tps65912: Remove unused define of TPS65912_MAX_REG_ID (diff) | |
download | wireguard-linux-99cd25ce10249c7f9d7172fe2ed266b023cd3323.tar.xz wireguard-linux-99cd25ce10249c7f9d7172fe2ed266b023cd3323.zip |
regulator: 88pm8607: Fix off-by-one value range checking in the case of no id is matched
In the case of no id is matched, the variable i is equal to
ARRAY_SIZE(pm8607_regulator_info).
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'kernel/irq/manage.c')
0 files changed, 0 insertions, 0 deletions