Merge branch 'pci/typos'

- Fix typos and whitespace errors (Bjorn Helgaas)

* pci/typos:
  PCI: Fix typos
This commit is contained in:
Bjorn Helgaas 2024-11-25 13:41:00 -06:00
commit 10099266de
2 changed files with 11 additions and 8 deletions

View File

@ -796,8 +796,8 @@ static int rcar_pcie_enable_msi(struct rcar_pcie_host *host)
rcar_pci_write_reg(pcie, 0, PCIEMSIIER); rcar_pci_write_reg(pcie, 0, PCIEMSIIER);
/* /*
* Setup MSI data target using RC base address address, which * Setup MSI data target using RC base address, which is guaranteed
* is guaranteed to be in the low 32bit range on any R-Car HW. * 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, lower_32_bits(res.start) | MSIFE, PCIEMSIALR);
rcar_pci_write_reg(pcie, upper_32_bits(res.start), PCIEMSIAUR); rcar_pci_write_reg(pcie, upper_32_bits(res.start), PCIEMSIAUR);

View 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 * @dev: the PCI device
*/ */
void pcie_set_ecrc_checking(struct pci_dev *dev) void pcie_set_ecrc_checking(struct pci_dev *dev)
@ -1148,11 +1149,13 @@ static void aer_recover_work_func(struct work_struct *work)
continue; continue;
} }
pci_print_aer(pdev, entry.severity, entry.regs); pci_print_aer(pdev, entry.severity, entry.regs);
/* /*
* Memory for aer_capability_regs(entry.regs) is being allocated from the * Memory for aer_capability_regs(entry.regs) is being
* ghes_estatus_pool to protect it from overwriting when multiple sections * allocated from the ghes_estatus_pool to protect it from
* are present in the error status. Thus free the same after processing * overwriting when multiple sections are present in the
* the data. * error status. Thus free the same after processing the
* data.
*/ */
ghes_estatus_pool_region_free((unsigned long)entry.regs, ghes_estatus_pool_region_free((unsigned long)entry.regs,
sizeof(struct aer_capability_regs)); sizeof(struct aer_capability_regs));