提交 f751f841 编写于 作者: L Linas Vepstas 提交者: Paul Mackerras

[PATCH] powerpc: remove bogus printk

233-eeh-buid-fix.patch

Remove un-desired warning print from EEH code.
Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
(cherry picked from 241239e6aff69788a177d97c5d06fe9995c74cca commit)
上级 25e591f6
...@@ -824,12 +824,10 @@ void eeh_add_device_early(struct device_node *dn) ...@@ -824,12 +824,10 @@ void eeh_add_device_early(struct device_node *dn)
if (!dn || !PCI_DN(dn)) if (!dn || !PCI_DN(dn))
return; return;
phb = PCI_DN(dn)->phb; phb = PCI_DN(dn)->phb;
if (NULL == phb || 0 == phb->buid) {
printk(KERN_WARNING "EEH: Expected buid but found none for %s\n", /* USB Bus children of PCI devices will not have BUID's */
dn->full_name); if (NULL == phb || 0 == phb->buid)
dump_stack();
return; return;
}
info.buid_hi = BUID_HI(phb->buid); info.buid_hi = BUID_HI(phb->buid);
info.buid_lo = BUID_LO(phb->buid); info.buid_lo = BUID_LO(phb->buid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册