Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: Correct misspelled and remove duplicated words

Correct a number of misspelled words and remove any words that were
duplicated in the PCI tree. No change to functionality intended.

Link: https://lore.kernel.org/r/20211006233827.147328-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

authored by

Krzysztof Wilczyński and committed by
Bjorn Helgaas
b2105b9f 9a0a1417

+15 -15
+1 -1
drivers/pci/controller/pci-xgene-msi.c
··· 302 302 303 303 /* 304 304 * MSIINTn (n is 0..F) indicates if there is a pending MSI interrupt 305 - * If bit x of this register is set (x is 0..7), one or more interupts 305 + * If bit x of this register is set (x is 0..7), one or more interrupts 306 306 * corresponding to MSInIRx is set. 307 307 */ 308 308 grp_select = xgene_msi_int_read(xgene_msi, msi_grp);
+1 -1
drivers/pci/controller/pcie-brcmstb.c
··· 145 145 #define BRCM_INT_PCI_MSI_LEGACY_NR 8 146 146 #define BRCM_INT_PCI_MSI_SHIFT 0 147 147 148 - /* MSI target adresses */ 148 + /* MSI target addresses */ 149 149 #define BRCM_MSI_TARGET_ADDR_LT_4GB 0x0fffffffcULL 150 150 #define BRCM_MSI_TARGET_ADDR_GT_4GB 0xffffffffcULL 151 151
+1 -1
drivers/pci/controller/pcie-iproc.c
··· 249 249 250 250 /* 251 251 * To hold the address of the register where the MSI writes are 252 - * programed. When ARM GICv3 ITS is used, this should be programmed 252 + * programmed. When ARM GICv3 ITS is used, this should be programmed 253 253 * with the address of the GITS_TRANSLATER register. 254 254 */ 255 255 IPROC_PCIE_MSI_ADDR_LO,
+1 -1
drivers/pci/endpoint/pci-epc-core.c
··· 700 700 /** 701 701 * pci_epc_init_notify() - Notify the EPF device that EPC device's core 702 702 * initialization is completed. 703 - * @epc: the EPC device whose core initialization is completeds 703 + * @epc: the EPC device whose core initialization is completed 704 704 * 705 705 * Invoke to Notify the EPF device that the EPC device's initialization 706 706 * is completed.
+2 -2
drivers/pci/endpoint/pci-epf-core.c
··· 224 224 * be removed 225 225 * @epf_vf: the virtual EP function to be removed 226 226 * 227 - * Invoke to remove a virtual endpoint function from the physcial endpoint 227 + * Invoke to remove a virtual endpoint function from the physical endpoint 228 228 * function. 229 229 */ 230 230 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) ··· 432 432 /** 433 433 * pci_epf_create() - create a new PCI EPF device 434 434 * @name: the name of the PCI EPF device. This name will be used to bind the 435 - * the EPF device to a EPF driver 435 + * EPF device to a EPF driver 436 436 * 437 437 * Invoke to create a new PCI EPF device by providing the name of the function 438 438 * device.
+1 -1
drivers/pci/hotplug/acpiphp_glue.c
··· 22 22 * when the bridge is scanned and it loses a refcount when the bridge 23 23 * is removed. 24 24 * - When a P2P bridge is present, we elevate the refcount on the subordinate 25 - * bus. It loses the refcount when the the driver unloads. 25 + * bus. It loses the refcount when the driver unloads. 26 26 */ 27 27 28 28 #define pr_fmt(fmt) "acpiphp_glue: " fmt
+2 -2
drivers/pci/hotplug/cpqphp_ctrl.c
··· 519 519 * @head: list to search 520 520 * @size: size of node to find, must be a power of two. 521 521 * 522 - * Description: This function sorts the resource list by size and then returns 522 + * Description: This function sorts the resource list by size and then 523 523 * returns the first node of "size" length that is not in the ISA aliasing 524 524 * window. If it finds a node larger than "size" it will split it up. 525 525 */ ··· 1202 1202 1203 1203 mdelay(5); 1204 1204 1205 - /* Reenable interrupts */ 1205 + /* Re-enable interrupts */ 1206 1206 writel(0, ctrl->hpc_reg + INT_MASK); 1207 1207 1208 1208 pci_write_config_byte(ctrl->pci_dev, 0x41, reg);
+2 -2
drivers/pci/hotplug/ibmphp.h
··· 352 352 u32 len; 353 353 int type; /* MEM, IO, PFMEM */ 354 354 u8 fromMem; /* this is to indicate that the range is from 355 - * from the Memory bucket rather than from PFMem */ 355 + * the Memory bucket rather than from PFMem */ 356 356 struct resource_node *next; 357 357 struct resource_node *nextRange; /* for the other mem range on bus */ 358 358 }; ··· 736 736 737 737 int ibmphp_init_devno(struct slot **); /* This function is called from EBDA, so we need it not be static */ 738 738 int ibmphp_do_disable_slot(struct slot *slot_cur); 739 - int ibmphp_update_slot_info(struct slot *); /* This function is called from HPC, so we need it to not be be static */ 739 + int ibmphp_update_slot_info(struct slot *); /* This function is called from HPC, so we need it to not be static */ 740 740 int ibmphp_configure_card(struct pci_func *, u8); 741 741 int ibmphp_unconfigure_card(struct slot **, int); 742 742 extern const struct hotplug_slot_ops ibmphp_hotplug_slot_ops;
+1 -1
drivers/pci/hotplug/shpchp_hpc.c
··· 295 295 mutex_lock(&slot->ctrl->cmd_lock); 296 296 297 297 if (!shpc_poll_ctrl_busy(ctrl)) { 298 - /* After 1 sec and and the controller is still busy */ 298 + /* After 1 sec and the controller is still busy */ 299 299 ctrl_err(ctrl, "Controller is still busy after 1 sec\n"); 300 300 retval = -EBUSY; 301 301 goto out;
+1 -1
drivers/pci/pci-driver.c
··· 576 576 { 577 577 int retval; 578 578 579 - /* if the device was enabled before suspend, reenable */ 579 + /* if the device was enabled before suspend, re-enable */ 580 580 retval = pci_reenable_device(pci_dev); 581 581 /* 582 582 * if the device was busmaster before the suspend, make it busmaster
+1 -1
drivers/pci/pcie/aer.c
··· 57 57 * "as seen by this device". Note that this may mean that if an 58 58 * end point is causing problems, the AER counters may increment 59 59 * at its link partner (e.g. root port) because the errors will be 60 - * "seen" by the link partner and not the the problematic end point 60 + * "seen" by the link partner and not the problematic end point 61 61 * itself (which may report all counters as 0 as it never saw any 62 62 * problems). 63 63 */
+1 -1
drivers/pci/quirks.c
··· 2700 2700 * then the device can't use INTx interrupts. Tegra's PCIe root ports don't 2701 2701 * generate MSI interrupts for PME and AER events instead only INTx interrupts 2702 2702 * are generated. Though Tegra's PCIe root ports can generate MSI interrupts 2703 - * for other events, since PCIe specificiation doesn't support using a mix of 2703 + * for other events, since PCIe specification doesn't support using a mix of 2704 2704 * INTx and MSI/MSI-X, it is required to disable MSI interrupts to avoid port 2705 2705 * service drivers registering their respective ISRs for MSIs. 2706 2706 */