[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100905084834.GC24817@opensource.wolfsonmicro.com>
Date: Sun, 5 Sep 2010 09:48:34 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Liam Girdwood <lrg@...mlogic.co.uk>,
Linus Walleij <linus.walleij@...ricsson.com>,
Sundar Iyer <sundar.iyer@...ricsson.com>
Subject: 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@...il.com>
Acked-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists