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>
This commit is contained in:
parent
17d2d67d76
commit
58e011609c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue