diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2022-09-05 11:02:32 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-09-21 14:50:35 -0500 |
commit | 58e011609c4305fc50674c4610cbe8a8c26261f6 (patch) | |
tree | 997ca39e632976747b9393f1de74e11575e9e887 /drivers/pci/probe.c | |
parent | 17d2d67d76e41c7fd00608fdad350e1790c5c24a (diff) | |
download | linux-58e011609c4305fc50674c4610cbe8a8c26261f6.tar.bz2 |
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>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |