Commit fb463593 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix cast warning in pcc driver.

arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c:458: warning: cast from pointer to integer of different size
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 0f1d683f
......@@ -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,"
......
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