PCI: Correct misspelled and remove duplicated words
authorKrzysztof Wilczyński <kw@linux.com>
Wed, 6 Oct 2021 23:38:27 +0000 (23:38 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Oct 2021 22:14:04 +0000 (17:14 -0500)
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>
12 files changed:
drivers/pci/controller/pci-xgene-msi.c
drivers/pci/controller/pcie-brcmstb.c
drivers/pci/controller/pcie-iproc.c
drivers/pci/endpoint/pci-epc-core.c
drivers/pci/endpoint/pci-epf-core.c
drivers/pci/hotplug/acpiphp_glue.c
drivers/pci/hotplug/cpqphp_ctrl.c
drivers/pci/hotplug/ibmphp.h
drivers/pci/hotplug/shpchp_hpc.c
drivers/pci/pci-driver.c
drivers/pci/pcie/aer.c
drivers/pci/quirks.c

index b7a8e062fcc5262d8e70998155c058f8a5623035..c50ff279903c2a5a216bd40798d5fdd532f0a8b7 100644 (file)
@@ -302,7 +302,7 @@ static void xgene_msi_isr(struct irq_desc *desc)
 
        /*
         * MSIINTn (n is 0..F) indicates if there is a pending MSI interrupt
-        * If bit x of this register is set (x is 0..7), one or more interupts
+        * If bit x of this register is set (x is 0..7), one or more interrupts
         * corresponding to MSInIRx is set.
         */
        grp_select = xgene_msi_int_read(xgene_msi, msi_grp);
index cc30215f5a433697700ffbe24a5c6ab3f341a8c1..1fc7bd49a7ad344029ef882d3fdc889397265f48 100644 (file)
 #define BRCM_INT_PCI_MSI_LEGACY_NR     8
 #define BRCM_INT_PCI_MSI_SHIFT         0
 
-/* MSI target adresses */
+/* MSI target addresses */
 #define BRCM_MSI_TARGET_ADDR_LT_4GB    0x0fffffffcULL
 #define BRCM_MSI_TARGET_ADDR_GT_4GB    0xffffffffcULL
 
index 30ac5fbefbbff5cac388a08e2e1288cbafa05cc8..36b9d2c46cfa0a27fdd34a3fe38a982207cebf50 100644 (file)
@@ -249,7 +249,7 @@ enum iproc_pcie_reg {
 
        /*
         * To hold the address of the register where the MSI writes are
-        * programed.  When ARM GICv3 ITS is used, this should be programmed
+        * programmed.  When ARM GICv3 ITS is used, this should be programmed
         * with the address of the GITS_TRANSLATER register.
         */
        IPROC_PCIE_MSI_ADDR_LO,
index ecbb0fb3b653c76e5f975ac0d56660bfdb8d7003..38621558d3975b0220e2bb9b250d0891267613d4 100644 (file)
@@ -700,7 +700,7 @@ EXPORT_SYMBOL_GPL(pci_epc_linkup);
 /**
  * pci_epc_init_notify() - Notify the EPF device that EPC device's core
  *                        initialization is completed.
- * @epc: the EPC device whose core initialization is completeds
+ * @epc: the EPC device whose core initialization is completed
  *
  * Invoke to Notify the EPF device that the EPC device's initialization
  * is completed.
index 8aea16380870056fd98d0e9fb4b7ea899d7cbc55..9ed556936f488a2a0e7dbc1c2869ce584dde6cea 100644 (file)
@@ -224,7 +224,7 @@ EXPORT_SYMBOL_GPL(pci_epf_add_vepf);
  *   be removed
  * @epf_vf: the virtual EP function to be removed
  *
- * Invoke to remove a virtual endpoint function from the physcial endpoint
+ * Invoke to remove a virtual endpoint function from the physical endpoint
  * function.
  */
 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf)
@@ -432,7 +432,7 @@ EXPORT_SYMBOL_GPL(pci_epf_destroy);
 /**
  * pci_epf_create() - create a new PCI EPF device
  * @name: the name of the PCI EPF device. This name will be used to bind the
- *       the EPF device to a EPF driver
+ *       EPF device to a EPF driver
  *
  * Invoke to create a new PCI EPF device by providing the name of the function
  * device.
index f031302ad4019b5c2d783cb713102e5214bcd578..12f4b351be67015edaebc7196f57d4d44c863de8 100644 (file)
@@ -22,7 +22,7 @@
  *    when the bridge is scanned and it loses a refcount when the bridge
  *    is removed.
  *  - When a P2P bridge is present, we elevate the refcount on the subordinate
- *    bus. It loses the refcount when the the driver unloads.
+ *    bus. It loses the refcount when the driver unloads.
  */
 
 #define pr_fmt(fmt) "acpiphp_glue: " fmt
index 1b26ca0b370120eecd3c69540f35b2635a7bb780..ed7b58eb64d26f3568939da72af75e73fa207d01 100644 (file)
@@ -519,7 +519,7 @@ error:
  * @head: list to search
  * @size: size of node to find, must be a power of two.
  *
- * Description: This function sorts the resource list by size and then returns
+ * Description: This function sorts the resource list by size and then
  * returns the first node of "size" length that is not in the ISA aliasing
  * window.  If it finds a node larger than "size" it will split it up.
  */
@@ -1202,7 +1202,7 @@ static u8 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_
 
        mdelay(5);
 
-       /* Reenable interrupts */
+       /* Re-enable interrupts */
        writel(0, ctrl->hpc_reg + INT_MASK);
 
        pci_write_config_byte(ctrl->pci_dev, 0x41, reg);
index e90a4ebf6550ab18e46ec7c26b8abbf652c43823..0399c60d2ec1ab27e941094c549c7449abc4008b 100644 (file)
@@ -352,7 +352,7 @@ struct resource_node {
        u32 len;
        int type;               /* MEM, IO, PFMEM */
        u8 fromMem;             /* this is to indicate that the range is from
-                                * from the Memory bucket rather than from PFMem */
+                                * the Memory bucket rather than from PFMem */
        struct resource_node *next;
        struct resource_node *nextRange;        /* for the other mem range on bus */
 };
@@ -736,7 +736,7 @@ struct controller {
 
 int ibmphp_init_devno(struct slot **); /* This function is called from EBDA, so we need it not be static */
 int ibmphp_do_disable_slot(struct slot *slot_cur);
-int ibmphp_update_slot_info(struct slot *);    /* This function is called from HPC, so we need it to not be be static */
+int ibmphp_update_slot_info(struct slot *);    /* This function is called from HPC, so we need it to not be static */
 int ibmphp_configure_card(struct pci_func *, u8);
 int ibmphp_unconfigure_card(struct slot **, int);
 extern const struct hotplug_slot_ops ibmphp_hotplug_slot_ops;
index 9e3b27744305c71c3df6d416fec27e959460bfc4..bd7557ca49108de988fbfa3451ca85393cd03b42 100644 (file)
@@ -295,7 +295,7 @@ static int shpc_write_cmd(struct slot *slot, u8 t_slot, u8 cmd)
        mutex_lock(&slot->ctrl->cmd_lock);
 
        if (!shpc_poll_ctrl_busy(ctrl)) {
-               /* After 1 sec and and the controller is still busy */
+               /* After 1 sec and the controller is still busy */
                ctrl_err(ctrl, "Controller is still busy after 1 sec\n");
                retval = -EBUSY;
                goto out;
index 2761ab86490d14bfa547180e36dbbc997e31f922..df3bd7b405426fd2b0f0649816fdfb181a8b683c 100644 (file)
@@ -576,7 +576,7 @@ static int pci_pm_reenable_device(struct pci_dev *pci_dev)
 {
        int retval;
 
-       /* if the device was enabled before suspend, reenable */
+       /* if the device was enabled before suspend, re-enable */
        retval = pci_reenable_device(pci_dev);
        /*
         * if the device was busmaster before the suspend, make it busmaster
index 9784fdcf30061c7ffd407b73bf20f60a8c70ca62..9fa1f97e5b27069f8893e59e0c471f36949f65f3 100644 (file)
@@ -57,7 +57,7 @@ struct aer_stats {
         * "as seen by this device". Note that this may mean that if an
         * end point is causing problems, the AER counters may increment
         * at its link partner (e.g. root port) because the errors will be
-        * "seen" by the link partner and not the the problematic end point
+        * "seen" by the link partner and not the problematic end point
         * itself (which may report all counters as 0 as it never saw any
         * problems).
         */
index 4537d1ea14fdc034a4a0c72789ca8b745315c60b..881c5d7c3d028ab8556379d750db0dde86de354b 100644 (file)
@@ -2700,7 +2700,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA,
  * then the device can't use INTx interrupts. Tegra's PCIe root ports don't
  * generate MSI interrupts for PME and AER events instead only INTx interrupts
  * are generated. Though Tegra's PCIe root ports can generate MSI interrupts
- * for other events, since PCIe specificiation doesn't support using a mix of
+ * for other events, since PCIe specification doesn't support using a mix of
  * INTx and MSI/MSI-X, it is required to disable MSI interrupts to avoid port
  * service drivers registering their respective ISRs for MSIs.
  */