]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
PCI: Fix typos
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 2 Nov 2024 17:45:37 +0000 (12:45 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Nov 2024 20:50:00 +0000 (14:50 -0600)
Fix typos and whitespace errors.

Link: https://lore.kernel.org/r/20241102174537.1362183-1-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pcie-rcar-host.c
drivers/pci/pcie/aer.c

index 3dd653f3d7841451f07644227f4e2088027f65ab..7c92eada04af4061dca1e4646d29e4f62b2a047b 100644 (file)
@@ -796,8 +796,8 @@ static int rcar_pcie_enable_msi(struct rcar_pcie_host *host)
        rcar_pci_write_reg(pcie, 0, PCIEMSIIER);
 
        /*
-        * Setup MSI data target using RC base address address, which
-        * is guaranteed to be in the low 32bit range on any R-Car HW.
+        * Setup MSI data target using RC base address, which is guaranteed
+        * to be in the low 32bit range on any R-Car HW.
         */
        rcar_pci_write_reg(pcie, lower_32_bits(res.start) | MSIFE, PCIEMSIALR);
        rcar_pci_write_reg(pcie, upper_32_bits(res.start), PCIEMSIAUR);
index 13b8586924ead15f1fc99d71cfe26d9fc89f4fb4..80c5ba8d829625a947044e03bd121688ccd0db56 100644 (file)
@@ -180,7 +180,8 @@ static int disable_ecrc_checking(struct pci_dev *dev)
 }
 
 /**
- * pcie_set_ecrc_checking - set/unset PCIe ECRC checking for a device based on global policy
+ * pcie_set_ecrc_checking - set/unset PCIe ECRC checking for a device based
+ * on global policy
  * @dev: the PCI device
  */
 void pcie_set_ecrc_checking(struct pci_dev *dev)
@@ -1148,14 +1149,16 @@ static void aer_recover_work_func(struct work_struct *work)
                        continue;
                }
                pci_print_aer(pdev, entry.severity, entry.regs);
+
                /*
-                * Memory for aer_capability_regs(entry.regs) is being allocated from the
-                * ghes_estatus_pool to protect it from overwriting when multiple sections
-                * are present in the error status. Thus free the same after processing
-                * the data.
+                * Memory for aer_capability_regs(entry.regs) is being
+                * allocated from the ghes_estatus_pool to protect it from
+                * overwriting when multiple sections are present in the
+                * error status. Thus free the same after processing the
+                * data.
                 */
                ghes_estatus_pool_region_free((unsigned long)entry.regs,
-                                             sizeof(struct aer_capability_regs));
+                                           sizeof(struct aer_capability_regs));
 
                if (entry.severity == AER_NONFATAL)
                        pcie_do_recovery(pdev, pci_channel_io_normal,