Commit 123411f2 authored by Mika Kukkonen's avatar Mika Kukkonen Committed by Dave Jones

[CPUFREQ] dprintf format fixes in cpufreq/speedstep-centrino.c

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: default avatarMika Kukkonen <mikukkon@gmail.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent f914be79
...@@ -402,7 +402,7 @@ static int centrino_cpu_init_acpi(struct cpufreq_policy *policy) ...@@ -402,7 +402,7 @@ static int centrino_cpu_init_acpi(struct cpufreq_policy *policy)
for (i=0; i<p.state_count; i++) { for (i=0; i<p.state_count; i++) {
if (p.states[i].control != p.states[i].status) { 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); p.states[i].control, p.states[i].status);
result = -EINVAL; result = -EINVAL;
goto err_unreg; goto err_unreg;
...@@ -415,7 +415,7 @@ static int centrino_cpu_init_acpi(struct cpufreq_policy *policy) ...@@ -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) { 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, p.states[0].core_frequency);
p.states[i].core_frequency = 0; p.states[i].core_frequency = 0;
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment