Skip to content

Commit

Permalink
[PARISC] More informative error message in pcibios_link_hba_resources
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Grundler authored and Kyle McMartin committed Oct 22, 2005
1 parent 7c92e97 commit 8054f03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/parisc/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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* */
Expand Down

0 comments on commit 8054f03

Please sign in to comment.