2005-11-12 21:15:08

by Gabriel A. Devenyi

[permalink] [raw]
Subject: [PATCH] drivers/acpi/asus_acpi.c unsigned comparison

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 <[email protected]>



--
Gabriel A. Devenyi
[email protected]