diff options
-rw-r--r-- | drivers/pci/hotplug/pci_hotplug_core.c | 2 | ||||
-rw-r--r-- | drivers/pci/probe.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c index 1767780809d7..dd59a050260f 100644 --- a/drivers/pci/hotplug/pci_hotplug_core.c +++ b/drivers/pci/hotplug/pci_hotplug_core.c | |||
@@ -625,7 +625,7 @@ int pci_hp_register (struct hotplug_slot *slot) | |||
625 | if ((slot->info == NULL) || (slot->ops == NULL)) | 625 | if ((slot->info == NULL) || (slot->ops == NULL)) |
626 | return -EINVAL; | 626 | return -EINVAL; |
627 | if (slot->release == NULL) { | 627 | if (slot->release == NULL) { |
628 | dbg("Why are you trying to register a hotplug slot" | 628 | dbg("Why are you trying to register a hotplug slot " |
629 | "without a proper release function?\n"); | 629 | "without a proper release function?\n"); |
630 | return -EINVAL; | 630 | return -EINVAL; |
631 | } | 631 | } |
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 93c7f35db5d0..4262dfec5676 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -639,13 +639,13 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass | |||
639 | (child->number > bus->subordinate) || | 639 | (child->number > bus->subordinate) || |
640 | (child->number < bus->number) || | 640 | (child->number < bus->number) || |
641 | (child->subordinate < bus->number)) { | 641 | (child->subordinate < bus->number)) { |
642 | pr_debug("PCI: Bus #%02x (-#%02x) is %s" | 642 | pr_debug("PCI: Bus #%02x (-#%02x) is %s " |
643 | "hidden behind%s bridge #%02x (-#%02x)\n", | 643 | "hidden behind%s bridge #%02x (-#%02x)\n", |
644 | child->number, child->subordinate, | 644 | child->number, child->subordinate, |
645 | (bus->number > child->subordinate && | 645 | (bus->number > child->subordinate && |
646 | bus->subordinate < child->number) ? | 646 | bus->subordinate < child->number) ? |
647 | "wholly " : " partially", | 647 | "wholly" : "partially", |
648 | bus->self->transparent ? " transparent" : " ", | 648 | bus->self->transparent ? " transparent" : "", |
649 | bus->number, bus->subordinate); | 649 | bus->number, bus->subordinate); |
650 | } | 650 | } |
651 | bus = bus->parent; | 651 | bus = bus->parent; |