From: Linas Vepstas Date: Fri, 4 Nov 2005 00:54:23 +0000 (-0600) Subject: [PATCH] powerpc: remove bogus printk X-Git-Tag: v2.6.16-rc1~473^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f751f84164bec4f38037b221a194c54d96c73d06;p=linux-2.6-omap-h63xx.git [PATCH] powerpc: remove bogus printk 233-eeh-buid-fix.patch Remove un-desired warning print from EEH code. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 241239e6aff69788a177d97c5d06fe9995c74cca commit) --- diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index 46ea4acd990..be981407525 100644 --- a/arch/powerpc/platforms/pseries/eeh.c +++ b/arch/powerpc/platforms/pseries/eeh.c @@ -824,12 +824,10 @@ void eeh_add_device_early(struct device_node *dn) if (!dn || !PCI_DN(dn)) return; phb = PCI_DN(dn)->phb; - if (NULL == phb || 0 == phb->buid) { - printk(KERN_WARNING "EEH: Expected buid but found none for %s\n", - dn->full_name); - dump_stack(); + + /* USB Bus children of PCI devices will not have BUID's */ + if (NULL == phb || 0 == phb->buid) return; - } info.buid_hi = BUID_HI(phb->buid); info.buid_lo = BUID_LO(phb->buid);