]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] powerpc: remove bogus printk
authorLinas Vepstas <linas@linas.org>
Fri, 4 Nov 2005 00:54:23 +0000 (18:54 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jan 2006 04:29:25 +0000 (15:29 +1100)
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)

arch/powerpc/platforms/pseries/eeh.c

index 46ea4acd9906281b60413dabc10d5d254ef35f87..be98140752541d9c47d11fcd7dc0a1e05936c0be 100644 (file)
@@ -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);