diff options
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_pci.c')
-rw-r--r-- | drivers/pci/hotplug/rpaphp_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c index ea41ea1d3c00..32aabc533be8 100644 --- a/drivers/pci/hotplug/rpaphp_pci.c +++ b/drivers/pci/hotplug/rpaphp_pci.c | |||
@@ -95,7 +95,7 @@ int rpaphp_enable_slot(struct slot *slot) | |||
95 | 95 | ||
96 | bus = pci_find_bus_by_node(slot->dn); | 96 | bus = pci_find_bus_by_node(slot->dn); |
97 | if (!bus) { | 97 | if (!bus) { |
98 | err("%s: no pci_bus for dn %s\n", __func__, slot->dn->full_name); | 98 | err("%s: no pci_bus for dn %pOF\n", __func__, slot->dn); |
99 | return -EINVAL; | 99 | return -EINVAL; |
100 | } | 100 | } |
101 | 101 | ||
@@ -125,7 +125,7 @@ int rpaphp_enable_slot(struct slot *slot) | |||
125 | 125 | ||
126 | if (rpaphp_debug) { | 126 | if (rpaphp_debug) { |
127 | struct pci_dev *dev; | 127 | struct pci_dev *dev; |
128 | dbg("%s: pci_devs of slot[%s]\n", __func__, slot->dn->full_name); | 128 | dbg("%s: pci_devs of slot[%pOF]\n", __func__, slot->dn); |
129 | list_for_each_entry(dev, &bus->devices, bus_list) | 129 | list_for_each_entry(dev, &bus->devices, bus_list) |
130 | dbg("\t%s\n", pci_name(dev)); | 130 | dbg("\t%s\n", pci_name(dev)); |
131 | } | 131 | } |