projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d2d67
)
PCI: Fix typo in pci_scan_child_bus_extend()
author
Mika Westerberg
<mika.westerberg@linux.intel.com>
Mon, 5 Sep 2022 08:02:32 +0000
(11:02 +0300)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 21 Sep 2022 19:50:35 +0000
(14:50 -0500)
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>
drivers/pci/probe.c
patch
|
blob
|
history
diff --git
a/drivers/pci/probe.c
b/drivers/pci/probe.c
index 8f25deb6b763ddec853502accc523b59d3650086..b66fa42c4b1fa21546f60514fcc64107528b4e82 100644
(file)
--- 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
o
f there is room.
+ * bus number
i
f there is room.
*/
if (bus->self && bus->self->is_hotplug_bridge) {
used_buses = max_t(unsigned int, available_buses,