From: Andrew Morton <akpm@linux-foundation.org>
To: Bryan Wu <cooloney@kernel.org>
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org, roel.kluin@gmail.com,
michael.hennerich@analog.com, cooloney@kernel.org
Subject: Re: [PATCH] Input: bf54x-keys: ! has a higher priority than >
Date: Thu, 5 Feb 2009 14:00:45 -0800 [thread overview]
Message-ID: <20090205140045.ef9fd5e6.akpm@linux-foundation.org> (raw)
In-Reply-To: <1233818395-6461-1-git-send-email-cooloney@kernel.org>
On Thu, 5 Feb 2009 15:19:55 +0800
Bryan Wu <cooloney@kernel.org> wrote:
> From: Roel Kluin <roel.kluin@gmail.com>
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
> Signed-off-by: Bryan Wu <cooloney@kernel.org>
> ---
> drivers/input/keyboard/bf54x-keys.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c
> index 1928401..ee855c5 100644
> --- a/drivers/input/keyboard/bf54x-keys.c
> +++ b/drivers/input/keyboard/bf54x-keys.c
> @@ -209,8 +209,8 @@ static int __devinit bfin_kpad_probe(struct platform_device *pdev)
> goto out;
> }
>
> - if (!pdata->debounce_time || !pdata->debounce_time > MAX_MULT ||
> - !pdata->coldrive_time || !pdata->coldrive_time > MAX_MULT) {
> + if (!pdata->debounce_time || pdata->debounce_time > MAX_MULT ||
> + !pdata->coldrive_time || pdata->coldrive_time > MAX_MULT) {
What is this `pdata' thing from which the data comes?
It seems a bit rude to kill the driver when we've detected an error
which could easily be fixed up.
> printk(KERN_ERR DRV_NAME
> ": Invalid Debounce/Columdrive Time from pdata\n");
nit: a colon does not terminate a sentence.
This comment misspells "column".
next prev parent reply other threads:[~2009-02-05 22:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 7:19 Bryan Wu
2009-02-05 22:00 ` Andrew Morton [this message]
2009-02-06 8:49 ` Hennerich, Michael
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=20090205140045.ef9fd5e6.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=cooloney@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.hennerich@analog.com \
--cc=roel.kluin@gmail.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
Powered by JetHome