فهرست منبع

[PARISC] More informative error message in pcibios_link_hba_resources

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>
Grant Grundler 19 سال پیش
والد
کامیت
8054f03f63
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      arch/parisc/kernel/pci.c

+ 2 - 1
arch/parisc/kernel/pci.c

@@ -202,7 +202,8 @@ static void
 pcibios_link_hba_resources( struct resource *hba_res, struct resource *r)
 pcibios_link_hba_resources( struct resource *hba_res, struct resource *r)
 {
 {
 	if (!r->parent) {
 	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;
 		r->parent = hba_res;
 
 
 		/* reverse link is harder *sigh*  */
 		/* reverse link is harder *sigh*  */