From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-input@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: [patch 2.6.25-rc3] omap-keypad buildfix
Date: Fri, 29 Feb 2008 07:59:38 -0800 [thread overview]
Message-ID: <20080229155938.GK15339@atomide.com> (raw)
In-Reply-To: <20080225031432.D53A228DE41@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
* David Brownell <david-b@pacbell.net> [080224 19:14]:
> Build fixes:
>
> drivers/input/keyboard/omap-keypad.c: In function 'omap_kp_probe':
> drivers/input/keyboard/omap-keypad.c:418: warning: 'row_idx' is used uninitialized in this function
> drivers/input/keyboard/omap-keypad.c:421: warning: 'col_idx' is used uninitialized in this function
>
> These variables are useful when cpu_is_omap24xx(), and otherwise just
> for probe() cleanup.
>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
> The OMAP tree has the same bug.
>
> drivers/input/keyboard/omap-keypad.c | 3 +++
> 1 files changed, 3 insertions(+)
>
> --- a/drivers/input/keyboard/omap-keypad.c 2008-02-24 18:50:32.000000000 -0800
> +++ b/drivers/input/keyboard/omap-keypad.c 2008-02-24 19:10:17.000000000 -0800
> @@ -352,6 +352,9 @@ static int __init omap_kp_probe(struct p
> }
> omap_set_gpio_direction(row_gpios[row_idx], 1);
> }
> + } else {
> + col_idx = 0;
> + row_idx = 0;
> }
>
> setup_timer(&omap_kp->timer, omap_kp_timer, (unsigned long)omap_kp);
Pushing today.
Tony
prev parent reply other threads:[~2008-02-29 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 3:14 [patch 2.6.25-rc3] omap-keypad buildfix David Brownell
2008-02-29 15:59 ` Tony Lindgren [this message]
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=20080229155938.GK15339@atomide.com \
--to=tony@atomide.com \
--cc=david-b@pacbell.net \
--cc=linux-input@vger.kernel.org \
--cc=linux-omap@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).