]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CPUFREQ] dprintf format fixes in cpufreq/speedstep-centrino.c
authorMika Kukkonen <mikukkon@miku.homelinux.net>
Sun, 7 Aug 2005 20:13:00 +0000 (23:13 +0300)
committerDave Jones <davej@redhat.com>
Thu, 1 Sep 2005 05:21:29 +0000 (22:21 -0700)
Ho-hum, did not notice there was more printf fixes for cpufreq (you
should see the amount I have for isdn and reiser ...). Sorry for noise.

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c

index 95e15b7fce17f1a1beb65a0e553551ff19aa60a0..e70f9b20538c87c19f0d29e32e6adc70d0ea2f4f 100644 (file)
@@ -402,7 +402,7 @@ static int centrino_cpu_init_acpi(struct cpufreq_policy *policy)
 
        for (i=0; i<p.state_count; i++) {
                if (p.states[i].control != p.states[i].status) {
-                       dprintk("Different control (%x) and status values (%x)\n",
+                       dprintk("Different control (%llu) and status values (%llu)\n",
                                p.states[i].control, p.states[i].status);
                        result = -EINVAL;
                        goto err_unreg;
@@ -415,7 +415,7 @@ static int centrino_cpu_init_acpi(struct cpufreq_policy *policy)
                }
 
                if (p.states[i].core_frequency > p.states[0].core_frequency) {
-                       dprintk("P%u has larger frequency (%u) than P0 (%u), skipping\n", i,
+                       dprintk("P%u has larger frequency (%llu) than P0 (%llu), skipping\n", i,
                                p.states[i].core_frequency, p.states[0].core_frequency);
                        p.states[i].core_frequency = 0;
                        continue;