diff mbox series

[v2,6/6] PCI: Fix typo in pci_scan_child_bus_extend()

Message ID 20220905080232.36087-7-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted
Headers show
Series PCI: Allow for future resource expansion on initial root bus scan | expand

Commit Message

Mika Westerberg Sept. 5, 2022, 8:02 a.m. UTC
Should be 'if' not 'of'. Fix this.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
 drivers/pci/probe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 8f25deb6b763..b66fa42c4b1f 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -2956,7 +2956,7 @@  static unsigned int pci_scan_child_bus_extend(struct pci_bus *bus,
 	 * Make sure a hotplug bridge has at least the minimum requested
 	 * number of buses but allow it to grow up to the maximum available
-	 * bus number of there is room.
+	 * bus number if there is room.
 	if (bus->self && bus->self->is_hotplug_bridge) {
 		used_buses = max_t(unsigned int, available_buses,