[PARISC] More informative error message in pcibios_link_hba_resources
authorGrant Grundler <grundler@parisc-linux.org>
Sat, 22 Oct 2005 02:50:33 +0000 (22:50 -0400)
committerKyle McMartin <kyle@parisc-linux.org>
Sat, 22 Oct 2005 02:50:33 +0000 (22:50 -0400)
Generate a more informative message when a resource does not have
a parent.

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/pci.c

index e6a891a0cad05429afd83a4ecfdcd51e33206ebb..88cba49c5301fe3209b890b4992731c0ae99d014 100644 (file)
@@ -202,7 +202,8 @@ static void
 pcibios_link_hba_resources( struct resource *hba_res, struct resource *r)
 {
        if (!r->parent) {
-               printk(KERN_EMERG "PCI: Tell willy he's wrong\n");
+               printk(KERN_EMERG "PCI: resource not parented! [%lx-%lx]\n",
+                               r->start, r->end);
                r->parent = hba_res;
 
                /* reverse link is harder *sigh*  */