login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
25
Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Zdenek Kabelac <zdenek.kabelac@...>
To: Henrique de Moraes Holschuh <hmh@...>
Cc: <linux-kernel@...>, <len.brown@...>
Subject:
Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning
Date: Monday, February 25, 2008 - 3:11 pm
2008/2/25, Henrique de Moraes Holschuh <hmh@hmh.eng.br>:
quoted text
> 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 --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning
, Zdenek Kabelac
, (Sun Feb 24, 6:07 pm)
Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warn...
, Henrique de Moraes Holschuh...
, (Mon Feb 25, 3:01 pm)
Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warn...
, Zdenek Kabelac
, (Mon Feb 25, 3:11 pm)
Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warn...
, Henrique de Moraes Holschuh...
, (Mon Feb 25, 2:27 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Matt Mackall
Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Colocation donated by:
Who's online
There are currently
0 users
and
621 guests
online.
Syndicate