Messages in this thread | | | Date | Mon, 26 Jul 2010 11:02:05 +0200 | Subject | Re: [PATCH resend] ab3100: fix off-by-one value range checking for voltage selector | From | Linus Walleij <> |
| |
2010/7/26 Axel Lin <axel.lin@gmail.com>:
> We use voltage selector as an array index for typ_voltages. > Thus the valid range for voltage selector should be 0..voltages_len-1. > > Signed-off-by: Axel Lin <axel.lin@gmail.com> > Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Yours, Linus Walleij
| |