Commit ccd36795 authored by Krzysztof Wilczyński's avatar Krzysztof Wilczyński Committed by Bjorn Helgaas

PCI: Correct misspelled words

Fix a number of misspelled words, and while at it, correct two phrases used
to indicate a status of an operation where words used have been cleverly
truncated and thus always trigger a spellchecking error while performing a
static code analysis over the PCI tree.

[bhelgaas: reverse sense of quirk ternary]
Link: https://lore.kernel.org/r/20220107225942.121484-1-kw@linux.comSigned-off-by: default avatarKrzysztof Wilczyński <kw@linux.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent fb82437f
...@@ -310,7 +310,7 @@ struct cdns_pcie { ...@@ -310,7 +310,7 @@ struct cdns_pcie {
* single function at a time * single function at a time
* @vendor_id: PCI vendor ID * @vendor_id: PCI vendor ID
* @device_id: PCI device ID * @device_id: PCI device ID
* @avail_ib_bar: Satus of RP_BAR0, RP_BAR1 and RP_NO_BAR if it's free or * @avail_ib_bar: Status of RP_BAR0, RP_BAR1 and RP_NO_BAR if it's free or
* available * available
* @quirk_retrain_flag: Retrain link as quirk for PCIe Gen2 * @quirk_retrain_flag: Retrain link as quirk for PCIe Gen2
* @quirk_detect_quiet_flag: LTSSM Detect Quiet min delay set as quirk * @quirk_detect_quiet_flag: LTSSM Detect Quiet min delay set as quirk
......
...@@ -303,7 +303,7 @@ static int mtk_pcie_startup_port(struct mtk_pcie_port *port) ...@@ -303,7 +303,7 @@ static int mtk_pcie_startup_port(struct mtk_pcie_port *port)
writel_relaxed(val, port->base + PCIE_RST_CTRL_REG); writel_relaxed(val, port->base + PCIE_RST_CTRL_REG);
/* /*
* Described in PCIe CEM specification setctions 2.2 (PERST# Signal) * Described in PCIe CEM specification sections 2.2 (PERST# Signal)
* and 2.2.1 (Initial Power-Up (G3 to S0)). * and 2.2.1 (Initial Power-Up (G3 to S0)).
* The deassertion of PERST# should be delayed 100ms (TPVPERL) * The deassertion of PERST# should be delayed 100ms (TPVPERL)
* for the power and clock to become stable. * for the power and clock to become stable.
......
...@@ -1262,7 +1262,7 @@ static void epf_ntb_db_mw_bar_cleanup(struct epf_ntb *ntb, ...@@ -1262,7 +1262,7 @@ static void epf_ntb_db_mw_bar_cleanup(struct epf_ntb *ntb,
} }
/** /**
* epf_ntb_configure_interrupt() - Configure MSI/MSI-X capaiblity * epf_ntb_configure_interrupt() - Configure MSI/MSI-X capability
* @ntb: NTB device that facilitates communication between HOST1 and HOST2 * @ntb: NTB device that facilitates communication between HOST1 and HOST2
* @type: PRIMARY interface or SECONDARY interface * @type: PRIMARY interface or SECONDARY interface
* *
......
...@@ -247,7 +247,7 @@ void of_pci_check_probe_only(void) ...@@ -247,7 +247,7 @@ void of_pci_check_probe_only(void)
else else
pci_clear_flags(PCI_PROBE_ONLY); pci_clear_flags(PCI_PROBE_ONLY);
pr_info("PROBE_ONLY %sabled\n", val ? "en" : "dis"); pr_info("PROBE_ONLY %s\n", val ? "enabled" : "disabled");
} }
EXPORT_SYMBOL_GPL(of_pci_check_probe_only); EXPORT_SYMBOL_GPL(of_pci_check_probe_only);
......
...@@ -980,8 +980,8 @@ static void quirk_via_ioapic(struct pci_dev *dev) ...@@ -980,8 +980,8 @@ static void quirk_via_ioapic(struct pci_dev *dev)
else else
tmp = 0x1f; /* all known bits (4-0) routed to external APIC */ tmp = 0x1f; /* all known bits (4-0) routed to external APIC */
pci_info(dev, "%sbling VIA external APIC routing\n", pci_info(dev, "%s VIA external APIC routing\n",
tmp == 0 ? "Disa" : "Ena"); tmp ? "Enabling" : "Disabling");
/* Offset 0x58: External APIC IRQ output control */ /* Offset 0x58: External APIC IRQ output control */
pci_write_config_byte(dev, 0x58, tmp); pci_write_config_byte(dev, 0x58, tmp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment