aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
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)
824 if (!dn || !PCI_DN(dn)) 824 if (!dn || !PCI_DN(dn))
825 return; 825 return;
826 phb = PCI_DN(dn)->phb; 826 phb = PCI_DN(dn)->phb;
827 if (NULL == phb || 0 == phb->buid) { 827
828 printk(KERN_WARNING "EEH: Expected buid but found none for %s\n", 828 /* USB Bus children of PCI devices will not have BUID's */
829 dn->full_name); 829 if (NULL == phb || 0 == phb->buid)
830 dump_stack();
831 return; 830 return;
832 }
833 831
834 info.buid_hi = BUID_HI(phb->buid); 832 info.buid_hi = BUID_HI(phb->buid);
835 info.buid_lo = BUID_LO(phb->buid); 833 info.buid_lo = BUID_LO(phb->buid);