From: "Zdenek Kabelac" <zdenek.kabelac@gmail.com>
To: "Henrique de Moraes Holschuh" <hmh@hmh.eng.br>
Cc: linux-kernel@vger.kernel.org, len.brown@intel.com
Subject: Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning
Date: Mon, 25 Feb 2008 20:11:55 +0100 [thread overview]
Message-ID: <c4e36d110802251111m45a14375jf620b51229479c9b@mail.gmail.com> (raw)
In-Reply-To: <20080225190149.GD16513@khazad-dum.debian.net>
2008/2/25, Henrique de Moraes Holschuh <hmh@hmh.eng.br>:
> On Sun, 24 Feb 2008, Zdenek Kabelac wrote:
>
> > Commit 6c231bd5eb07ce546517019f334652b9ecfc329a
> > generate this warning:
> >
> > drivers/misc/thinkpad_acpi.c: In function 'tpacpi_input_send_tabletsw':
> > include/linux/input.h:1290: warning: 'state' is used uninitialized in
> > this function
> > drivers/misc/thinkpad_acpi.c:1191: note: 'state' was declared here
> > drivers/misc/thinkpad_acpi.c: In function 'hotkey_tablet_mode_show':
> > drivers/misc/thinkpad_acpi.c:1723: warning: 's' is used uninitialized
> > in this function
>
>
> I can't seem to get these warnings in Debian gcc 4.2.3-1. But the code is
> broken alright. I will send in a fix in a short while, as it will take a
> small while to make sure there is nothing else wrong before I send in the
> fix. I have to figure out how the heck that got past the testing in the
> first place, as well...
Try gcc-4.3 (or gcc-snapshot) - makes much better/deeper code analysis.
Zdenek
prev parent reply other threads:[~2008-02-25 19:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-24 22:07 Zdenek Kabelac
2008-02-25 18:27 ` Henrique de Moraes Holschuh
2008-02-25 19:01 ` Henrique de Moraes Holschuh
2008-02-25 19:11 ` Zdenek Kabelac [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=c4e36d110802251111m45a14375jf620b51229479c9b@mail.gmail.com \
--to=zdenek.kabelac@gmail.com \
--cc=hmh@hmh.eng.br \
--cc=len.brown@intel.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®