Skip to content

Commit

Permalink
acpi_pm clccksource: fix printk format warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Thomas Gleixner committed Jul 12, 2008
1 parent 6b14850 commit 38032f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clocksource/acpi_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ static int __init parse_pmtmr(char *arg)
if (strict_strtoul(arg, 16, &base))
return -EINVAL;

printk(KERN_INFO "PMTMR IOPort override: 0x%04lx -> 0x%04lx\n",
pmtmr_ioport, base);
printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n",
(unsigned int)pmtmr_ioport, base);
pmtmr_ioport = base;

return 1;
Expand Down

0 comments on commit 38032f7

Please sign in to comment.