From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Axel Lin <axel.lin@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
Kyungmin Park <kyungmin.park@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: [PATCH] max8998: fix off-by-one value range checking
Date: Wed, 04 Aug 2010 09:08:07 +0100 [thread overview]
Message-ID: <1280909287.3065.0.camel@odin> (raw)
In-Reply-To: <20100804075025.GA22446@rakim.wolfsonmicro.main>
On Wed, 2010-08-04 at 08:50 +0100, Mark Brown wrote:
> On Wed, Aug 04, 2010 at 02:34:10PM +0800, Axel Lin wrote:
> > In max8998_list_voltage() and max8998_set_voltage(),
> > we use ldo as array index of ldo_voltage_map.
> > Thus the valid range should be 0 .. ARRAY_SIZE(ldo_voltage_map)-1.
>
> > Signed-off-by: Axel Lin <axel.lin@gmail.com>
>
> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
>
Applied.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
next prev parent reply other threads:[~2010-08-04 8:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 6:34 [PATCH] max8998: fix off-by-one value range checking Axel Lin
2010-08-04 6:39 ` Kyungmin Park
2010-08-04 7:50 ` Mark Brown
2010-08-04 8:08 ` Liam Girdwood [this message]
2010-08-05 1:43 ` Axel Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1280909287.3065.0.camel@odin \
--to=lrg@slimlogic.co.uk \
--cc=axel.lin@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox