login
Header Space

 
 

latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <hmh@...>, <len.brown@...>
Date: Sunday, February 24, 2008 - 6:07 pm

Hi

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 assume typo  here thinkpad_acpi.c:10724 hotkey_get_tablet_mode
where status should be maybe 's' and local 's' shouldn't be defined at
all -  just guess?

Zdenek
--
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..., Henrique de Moraes Holschuh..., (Mon Feb 25, 2:27 pm)
speck-geostationary