Re: [PATCH] regulator: ab8500 - fix off-by-one value range checking for selector
On Sat, Sep 04, 2010 at 11:06:41PM +0800, Axel Lin wrote: > 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@opensource.wolfsonmicro.com>