PCI: Log bridge windows conditionally
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 4 Dec 2023 23:53:32 +0000 (17:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Dec 2023 23:28:43 +0000 (17:28 -0600)
commit63c6ebb294b7c708cc987d621e59499686650683
tree45e53d213ab6aaa01bbc354a9f1d799ed25978a0
parent281e1f137a97dae4fe47a7d30635c5b83def790b
PCI: Log bridge windows conditionally

Previously pci_read_bridge_io(), pci_read_bridge_mmio(), and
pci_read_bridge_mmio_pref() unconditionally logged the bridge window
resource.  A future change will call these functions earlier and more
often.  Add a "log" parameter so callers can control whether to generate
the log message.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c