]> git.hungrycats.org Git - linux/commitdiff
[CPUFREQ] Fix signed comparison warning in powernow-k7
authorDave Jones <davej@codemonkey.org.uk>
Tue, 11 Mar 2003 22:54:58 +0000 (21:54 -0100)
committerDave Jones <davej@codemonkey.org.uk>
Tue, 11 Mar 2003 22:54:58 +0000 (21:54 -0100)
arch/i386/kernel/cpu/cpufreq/powernow-k7.c

index 9462770de26a425dd111085c1a9823c4eee85c29..a8e015a5db7d611d2b5ba2cfef72c3802fb21201 100644 (file)
@@ -162,9 +162,8 @@ static int check_powernow(void)
 
 static int get_ranges (unsigned char *pst)
 {
-       int j;
+       unsigned int j, speed;
        u8 fid, vid;
-       unsigned int speed;
 
        powernow_table = kmalloc((sizeof(struct cpufreq_frequency_table) * (number_scales + 1)), GFP_KERNEL);
        if (!powernow_table)