Skip to content

Commit adda86b

Browse files
committed
PCI: of: Drop 'No bus range found' message
The typical bus range for a host bridge is [bus 00-ff], and devm_of_pci_get_host_bridge_resources() defaults to that unless DT contains a "bus-range" property. devm_of_pci_get_host_bridge_resources() previously emitted a message when there was no "bus-range" property, but that seems unnecessary for this common situation. Remove the message. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
1 parent ddedc08 commit adda86b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/pci/of.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,6 @@ static int devm_of_pci_get_host_bridge_resources(struct device *dev,
346346
bus_range->start = busno;
347347
bus_range->end = bus_max;
348348
bus_range->flags = IORESOURCE_BUS;
349-
dev_info(dev, " No bus range found for %pOF, using %pR\n",
350-
dev_node, bus_range);
351349
} else {
352350
if (bus_range->end > bus_range->start + bus_max)
353351
bus_range->end = bus_range->start + bus_max;

0 commit comments

Comments
 (0)