Skip to content

Commit ccd3679

Browse files
kwilczynskibjorn-helgaas
authored andcommitted
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/[email protected] Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent fb82437 commit ccd3679

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

drivers/pci/controller/cadence/pcie-cadence.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ struct cdns_pcie {
310310
* single function at a time
311311
* @vendor_id: PCI vendor ID
312312
* @device_id: PCI device ID
313-
* @avail_ib_bar: Satus of RP_BAR0, RP_BAR1 and RP_NO_BAR if it's free or
313+
* @avail_ib_bar: Status of RP_BAR0, RP_BAR1 and RP_NO_BAR if it's free or
314314
* available
315315
* @quirk_retrain_flag: Retrain link as quirk for PCIe Gen2
316316
* @quirk_detect_quiet_flag: LTSSM Detect Quiet min delay set as quirk

drivers/pci/controller/pcie-mediatek-gen3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ static int mtk_pcie_startup_port(struct mtk_pcie_port *port)
303303
writel_relaxed(val, port->base + PCIE_RST_CTRL_REG);
304304

305305
/*
306-
* Described in PCIe CEM specification setctions 2.2 (PERST# Signal)
306+
* Described in PCIe CEM specification sections 2.2 (PERST# Signal)
307307
* and 2.2.1 (Initial Power-Up (G3 to S0)).
308308
* The deassertion of PERST# should be delayed 100ms (TPVPERL)
309309
* for the power and clock to become stable.

drivers/pci/endpoint/functions/pci-epf-ntb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ static void epf_ntb_db_mw_bar_cleanup(struct epf_ntb *ntb,
12621262
}
12631263

12641264
/**
1265-
* epf_ntb_configure_interrupt() - Configure MSI/MSI-X capaiblity
1265+
* epf_ntb_configure_interrupt() - Configure MSI/MSI-X capability
12661266
* @ntb: NTB device that facilitates communication between HOST1 and HOST2
12671267
* @type: PRIMARY interface or SECONDARY interface
12681268
*

drivers/pci/of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void of_pci_check_probe_only(void)
247247
else
248248
pci_clear_flags(PCI_PROBE_ONLY);
249249

250-
pr_info("PROBE_ONLY %sabled\n", val ? "en" : "dis");
250+
pr_info("PROBE_ONLY %s\n", val ? "enabled" : "disabled");
251251
}
252252
EXPORT_SYMBOL_GPL(of_pci_check_probe_only);
253253

drivers/pci/quirks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,8 +980,8 @@ static void quirk_via_ioapic(struct pci_dev *dev)
980980
else
981981
tmp = 0x1f; /* all known bits (4-0) routed to external APIC */
982982

983-
pci_info(dev, "%sbling VIA external APIC routing\n",
984-
tmp == 0 ? "Disa" : "Ena");
983+
pci_info(dev, "%s VIA external APIC routing\n",
984+
tmp ? "Enabling" : "Disabling");
985985

986986
/* Offset 0x58: External APIC IRQ output control */
987987
pci_write_config_byte(dev, 0x58, tmp);

0 commit comments

Comments
 (0)