提交 40bee2ee 编写于 作者: B Brice Goglin 提交者: Andi Kleen

[PATCH] fix bus numbering format in mmconfig warning

Make an mmconfig warning print the bus id with a regular format.
Signed-off-by: NBrice Goglin <brice@myri.com>
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
上级 c0d83745
...@@ -156,9 +156,8 @@ static __init void unreachable_devices(void) ...@@ -156,9 +156,8 @@ static __init void unreachable_devices(void)
addr = pci_dev_base(0, k, PCI_DEVFN(i, 0)); addr = pci_dev_base(0, k, PCI_DEVFN(i, 0));
if (addr == NULL|| readl(addr) != val1) { if (addr == NULL|| readl(addr) != val1) {
set_bit(i + 32*k, fallback_slots); set_bit(i + 32*k, fallback_slots);
printk(KERN_NOTICE printk(KERN_NOTICE "PCI: No mmconfig possible"
"PCI: No mmconfig possible on device %x:%x\n", " on device %02x:%02x\n", k, i);
k, i);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册