]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: of: Drop 'No bus range found' message
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Jan 2025 23:15:55 +0000 (17:15 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Jan 2025 21:24:44 +0000 (15:24 -0600)
commitadda86bf46440105e2459814a1284ea63a2b7032
tree9a124ec2a8a90bdaf8fb7fba9630a57f9485fd4c
parentddedc08e80c56e40615c129bdb895ba9868e0ba0
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>
drivers/pci/of.c