diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/iommu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 66665c82415c..eec684a8e44e 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c | |||
@@ -504,6 +504,12 @@ static void pci_dma_dev_setup_pSeriesLP(struct pci_dev *dev) | |||
504 | break; | 504 | break; |
505 | } | 505 | } |
506 | 506 | ||
507 | if (!pdn || !PCI_DN(pdn)) { | ||
508 | printk(KERN_WARNING "pci_dma_dev_setup_pSeriesLP: " | ||
509 | "no DMA window found for pci dev=%s dn=%s\n", | ||
510 | pci_name(dev), dn? dn->full_name : "<null>"); | ||
511 | return; | ||
512 | } | ||
507 | DBG(" parent is %s\n", pdn->full_name); | 513 | DBG(" parent is %s\n", pdn->full_name); |
508 | 514 | ||
509 | /* Check for parent == NULL so we don't try to setup the empty EADS | 515 | /* Check for parent == NULL so we don't try to setup the empty EADS |