[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 2936885..ff36d29 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,"