Skip to content

Commit 58e0116

Browse files
westeribjorn-helgaas
authored andcommitted
PCI: Fix typo in pci_scan_child_bus_extend()
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@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
1 parent 17d2d67 commit 58e0116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/probe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2956,7 +2956,7 @@ static unsigned int pci_scan_child_bus_extend(struct pci_bus *bus,
29562956
/*
29572957
* Make sure a hotplug bridge has at least the minimum requested
29582958
* number of buses but allow it to grow up to the maximum available
2959-
* bus number of there is room.
2959+
* bus number if there is room.
29602960
*/
29612961
if (bus->self && bus->self->is_hotplug_bridge) {
29622962
used_buses = max_t(unsigned int, available_buses,

0 commit comments

Comments
 (0)