Change the BAR number printed by pci_request_region() from "bar + 1" to "bar". Signed-off-by: Bjorn Helgaas Index: work11/drivers/pci/pci.c =================================================================== --- work11.orig/drivers/pci/pci.c 2008-06-27 08:27:29.000000000 -0600 +++ work11/drivers/pci/pci.c 2008-06-27 08:27:47.000000000 -0600 @@ -1116,7 +1116,7 @@ int pci_request_region(struct pci_dev *p err_out: dev_warn(&pdev->dev, "BAR %d: can't reserve %s region [%#llx-%#llx]\n", - bar + 1, /* PCI BAR # */ + bar, /* PCI BAR # */ pci_resource_flags(pdev, bar) & IORESOURCE_IO ? "I/O" : "mem", (unsigned long long)pci_resource_start(pdev, bar), (unsigned long long)pci_resource_end(pdev, bar)); -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/