[CPUFREQ] Fix cast warning in pcc driver.
authorDave Jones <davej@redhat.com>
Thu, 7 Jan 2010 20:26:22 +0000 (15:26 -0500)
committerDave Jones <davej@redhat.com>
Wed, 13 Jan 2010 15:55:17 +0000 (10:55 -0500)
arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c:458: warning: cast from pointer to integer of different size

Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c

index 29368854533c99ea1df6ed65dfb198e08642d591..ff36d2979a909ddee0748e79f30608206e2e5c9b 100644 (file)
@@ -455,8 +455,7 @@ static int __init pcc_cpufreq_probe(void)
        }
        pcch_hdr = pcch_virt_addr;
 
-       dprintk("probe: PCCH header (virtual) addr: 0x%llx\n",
-               (u64)pcch_hdr);
+       dprintk("probe: PCCH header (virtual) addr: 0x%p\n", pcch_hdr);
        dprintk("probe: PCCH header is at physical address: 0x%llx,"
                " signature: 0x%x, length: %d bytes, major: %d, minor: %d,"
                " supported features: 0x%x, command field: 0x%x,"