提交 4e19025b 编写于 作者: R Russell King 提交者: Russell King

[ARM] Fix warnings in arch/arm/kernel/setup.c

cr_alignment is unsigned long, so should be the format string.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 c9e4143c
......@@ -344,7 +344,7 @@ static void __init setup_processor(void)
cpu_cache = *list->cache;
#endif
printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08x\n",
printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08lx\n",
cpu_name, processor_id, (int)processor_id & 15,
proc_arch[cpu_architecture()], cr_alignment);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册