[PATCH] drivers/acpi/asus_acpi.c unsigned comparison
From: Gabriel A. Devenyi (ace_at_staticwave.ca)
Date: 11/12/05
- Previous message: Gabriel A. Devenyi: "[RESEND] [PATCH] drivers/acpi/asus_acpi.c unsigned comparison"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: sziwan@users.sourceforge.net Date: Sat, 12 Nov 2005 16:15:02 -0500
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 - 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: Gabriel A. Devenyi: "[RESEND] [PATCH] drivers/acpi/asus_acpi.c unsigned comparison"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]