* [PATCH] drivers/acpi/asus_acpi.c unsigned comparison
@ 2005-11-12 21:15 Gabriel A. Devenyi
0 siblings, 0 replies; only message in thread
From: Gabriel A. Devenyi @ 2005-11-12 21:15 UTC (permalink / raw)
To: sziwan; +Cc: linux-kernel
proc_write_brn, and proc_write_disp both use a parameter "count" to store the result from parse_arg.
The return of parse_arg is an int, but count is declared as an unsigned int, and later checked versus zero,
which is meaningless. This patch fixes the declaration of count in both functions.
Thanks to LinuxICC (http://linuxicc.sf.net)
Signed-off-by: Gabriel A. Devenyi <ace@staticwave.ca>
--
Gabriel A. Devenyi
ace@staticwave.ca
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-12 21:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-12 21:15 [PATCH] drivers/acpi/asus_acpi.c unsigned comparison Gabriel A. Devenyi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox