提交 14351760 编写于 作者: L Linus Torvalds

Fix printk format warning in clocksource/acpi_pm.c

For real, this time.  The earlier attempt just moved the warning around.
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 da6e88f4
...@@ -227,7 +227,7 @@ static int __init parse_pmtmr(char *arg) ...@@ -227,7 +227,7 @@ static int __init parse_pmtmr(char *arg)
if (strict_strtoul(arg, 16, &base)) if (strict_strtoul(arg, 16, &base))
return -EINVAL; return -EINVAL;
printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n", printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04lx\n",
(unsigned int)pmtmr_ioport, base); (unsigned int)pmtmr_ioport, base);
pmtmr_ioport = base; pmtmr_ioport = base;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册