Skip to content

Commit

Permalink
[CPUFREQ] Fix cast warning in pcc driver.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jones committed Jan 13, 2010
1 parent 0f1d683 commit fb46359
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,"
Expand Down

0 comments on commit fb46359

Please sign in to comment.