summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorLinas Vepstas <linas@linas.org>2005-11-03 18:54:23 -0600
committerPaul Mackerras <paulus@samba.org>2006-01-10 15:29:25 +1100
commitf751f84164bec4f38037b221a194c54d96c73d06 (patch)
tree4f0ad3749aa07269a1bb7f5019ebbc78c65c4963 /arch/powerpc
parent25e591f6dd07365cbf0b1c2454386ce597dd5e05 (diff)
downloadlinux-f751f84164bec4f38037b221a194c54d96c73d06.tar.gz
linux-f751f84164bec4f38037b221a194c54d96c73d06.tar.bz2
linux-f751f84164bec4f38037b221a194c54d96c73d06.zip
[PATCH] powerpc: remove bogus printk
233-eeh-buid-fix.patch Remove un-desired warning print from EEH code. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> (cherry picked from 241239e6aff69788a177d97c5d06fe9995c74cca commit)
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/pseries/eeh.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index 46ea4acd9906..be9814075254 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);