commented early_printk patch because of rejects.
[linux-flexiantxendom0-3.2.10.git] / drivers / pci / setup-res.c
index 3386216..b265926 100644 (file)
@@ -166,7 +166,7 @@ pdev_sort_resources(struct pci_dev *dev, struct resource_list *head)
                if (!r_align) {
                        printk(KERN_WARNING "PCI: Ignore bogus resource %d "
                                            "[%lx:%lx] of %s\n",
-                                           i, r->start, r->end, dev->dev.name);
+                                           i, r->start, r->end, pci_name(dev));
                        continue;
                }
                r_align = (i < PCI_BRIDGE_RESOURCES) ? r_align + 1 : r->start;