aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-07-11 15:57:31 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-07-11 23:29:08 -0400
commit38032f72601deac7aab00691c79e83d09b204e2a (patch)
tree7ad421fd304e3ae013949680f0fed0df1dd7bf92
parent6b148507d3d042a3c11f4c3f6c0f649c6a89220d (diff)
acpi_pm clccksource: fix printk format warning
Fix printk format warning in acpi_pm clocksource: linux-next-20080711/drivers/clocksource/acpi_pm.c:231: warning: format '%04lx' expects type 'long unsigned int', but argument 2 has type 'u32' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: akpm <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/clocksource/acpi_pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c
index 3baee020afc2..bcd7d0e429e8 100644
--- a/drivers/clocksource/acpi_pm.c
+++ b/drivers/clocksource/acpi_pm.c
@@ -227,8 +227,8 @@ static int __init parse_pmtmr(char *arg)
227 if (strict_strtoul(arg, 16, &base)) 227 if (strict_strtoul(arg, 16, &base))
228 return -EINVAL; 228 return -EINVAL;
229 229
230 printk(KERN_INFO "PMTMR IOPort override: 0x%04lx -> 0x%04lx\n", 230 printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n",
231 pmtmr_ioport, base); 231 (unsigned int)pmtmr_ioport, base);
232 pmtmr_ioport = base; 232 pmtmr_ioport = base;
233 233
234 return 1; 234 return 1;