From: Alan Cox <alan@linux.intel.com>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Matthew Garrett <mjg@redhat.com>, Alek Du <alek.du@intel.com>,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH] intel_pmic_gpio: fix off-by-one value range checking
Date: Wed, 13 Oct 2010 10:11:58 +0100 [thread overview]
Message-ID: <20101013101158.1ae2a583@linux.intel.com> (raw)
In-Reply-To: <1286531671.6060.1.camel@mola>
On Fri, 08 Oct 2010 17:54:31 +0800
Axel Lin <axel.lin@gmail.com> wrote:
> In pmic_irq_type(), we use gpio as array index for trigger,
> thus the valid value range for gpio should be 0 .. NUM_GPIO - 1.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Agreed - thanks for spotting this.
Alan
next prev parent reply other threads:[~2010-10-13 10:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 9:54 [PATCH] intel_pmic_gpio: fix off-by-one value range checking Axel Lin
2010-10-13 9:11 ` Alan Cox [this message]
2010-10-21 14:04 ` Matthew Garrett
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=20101013101158.1ae2a583@linux.intel.com \
--to=alan@linux.intel.com \
--cc=alek.du@intel.com \
--cc=axel.lin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=platform-driver-x86@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.