[PATCH 6/6][SRU][Jammy] PCI: Fix typo in pci_scan_child_bus_extend()
Chris Chiu
chris.chiu at canonical.com
Fri Oct 21 05:12:39 UTC 2022
From: Mika Westerberg <mika.westerberg at linux.intel.com>
BugLink: https://bugs.launchpad.net/bugs/1991366
Should be 'if' not 'of'. Fix this.
Link: https://lore.kernel.org/r/20220905080232.36087-7-mika.westerberg@linux.intel.com
Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas at google.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
(cherry picked from commit 58e011609c4305fc50674c4610cbe8a8c26261f6)
Signed-off-by: Chris Chiu <chris.chiu at canonical.com>
---
drivers/pci/probe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 416b7261ed4c..103ee42f6717 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -2985,7 +2985,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,
--
2.25.1
More information about the kernel-team
mailing list