[PATCH] arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c: make pll signed From: "Gabriel A. Devenyi" 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 Signed-off-by: Alexey Dobriyan Index: linux-kj/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c =================================================================== --- linux-kj.orig/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c 2005-12-05 13:17:38.000000000 +0300 +++ linux-kj/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c 2005-12-05 13:19:24.000000000 +0300 @@ -177,9 +177,9 @@ static unsigned int nforce2_fsb_read(int */ static int nforce2_set_fsb(unsigned int fsb) { - u32 pll, temp = 0; + u32 temp = 0; unsigned int tfsb; - int diff; + int diff, pll; if ((fsb > max_fsb) || (fsb < NFORCE2_MIN_FSB)) { printk(KERN_ERR "cpufreq: FSB %d is out of range!\n", fsb);