diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-13 17:15:55 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-15 15:24:44 -0600 |
commit | adda86bf46440105e2459814a1284ea63a2b7032 (patch) | |
tree | 9a124ec2a8a90bdaf8fb7fba9630a57f9485fd4c | |
parent | ddedc08e80c56e40615c129bdb895ba9868e0ba0 (diff) |
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/20250113231557.441289-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
-rw-r--r-- | drivers/pci/of.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/of.c b/drivers/pci/of.c index 2f579b691f8e..48b9274b846e 100644 --- a/drivers/pci/of.c +++ b/drivers/pci/of.c @@ -346,8 +346,6 @@ static int devm_of_pci_get_host_bridge_resources(struct device *dev, bus_range->start = busno; bus_range->end = bus_max; bus_range->flags = IORESOURCE_BUS; - dev_info(dev, " No bus range found for %pOF, using %pR\n", - dev_node, bus_range); } else { if (bus_range->end > bus_range->start + bus_max) bus_range->end = bus_range->start + bus_max; |