[PATCH] cpufreq-nforce2.c fix u32<0 test
authorGabriel A. Devenyi <ace@staticwave.ca>
Thu, 1 Dec 2005 09:09:22 +0000 (01:09 -0800)
committerDave Jones <davej@redhat.com>
Thu, 1 Dec 2005 09:23:24 +0000 (01:23 -0800)
commitd4921914de19339d7cd987d2ed6d48754821f41a
tree6b16628fca942bc220ada8251820f31341ed089a
parent537208c8072280ab87916710d5a3f7ef11ab94ff
[PATCH] cpufreq-nforce2.c fix u32<0 test

Thanks to LinuxICC (http://linuxicc.sf.net), a comparison of a u32 less
than 0 was found, this patch changes the variable to a signed int so that
comparison is meaningful.

Signed-off-by: Gabriel A. Devenyi <ace@staticwave.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c