提交 760fe9ad 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

[PATCH] ioc4: fix printk format warning

Fix printk format warning:
drivers/misc/ioc4.c:213: warning: long long int format, u64 arg (arg 3)
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: NBrent Casavant <bcasavan@sgi.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 1d4d2627
...@@ -210,8 +210,8 @@ ioc4_clock_calibrate(struct ioc4_driver_data *idd) ...@@ -210,8 +210,8 @@ ioc4_clock_calibrate(struct ioc4_driver_data *idd)
do_div(ns, IOC4_EXTINT_COUNT_DIVISOR); do_div(ns, IOC4_EXTINT_COUNT_DIVISOR);
printk(KERN_DEBUG printk(KERN_DEBUG
"IOC4 %s: PCI clock is %lld ns.\n", "IOC4 %s: PCI clock is %llu ns.\n",
pci_name(idd->idd_pdev), ns); pci_name(idd->idd_pdev), (unsigned long long)ns);
} }
/* Remember results. We store the extint clock period rather /* Remember results. We store the extint clock period rather
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册