]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: Fix typos
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Mar 2024 19:54:46 +0000 (14:54 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Sep 2024 19:24:00 +0000 (14:24 -0500)
Fix typos.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/ats.c
drivers/pci/controller/cadence/Kconfig
drivers/pci/hotplug/cpqphp_core.c
drivers/pci/hotplug/s390_pci_hpc.c
drivers/pci/iomap.c

index c570892b209095d29d90e5597fbc7836869d0dc4..956b08117347205cbb2ba3d72d63eae08c1f1350 100644 (file)
@@ -455,8 +455,8 @@ void pci_restore_pasid_state(struct pci_dev *pdev)
  * pci_pasid_features - Check which PASID features are supported
  * @pdev: PCI device structure
  *
- * Returns a negative value when no PASI capability is present.
- * Otherwise is returns a bitmask with supported features. Current
+ * Return a negative value when no PASID capability is present.
+ * Otherwise return a bitmask with supported features. Current
  * features reported are:
  * PCI_PASID_CAP_EXEC - Execute permission supported
  * PCI_PASID_CAP_PRIV - Privileged mode supported
index 1d5a70c9055ed600696958d5a438731fccf7a187..8a0044bb398924e8d4f32b0b855a9bb3b90a7830 100644 (file)
@@ -38,7 +38,7 @@ config PCIE_CADENCE_PLAT_EP
        select PCIE_CADENCE_EP
        select PCIE_CADENCE_PLAT
        help
-         Say Y here if you want to support the Cadence PCIe  platform controller in
+         Say Y here if you want to support the Cadence PCIe platform controller in
          endpoint mode. This PCIe controller may be embedded into many
          different vendors SoCs.
 
index c94b40e64baf22bbce6e7a2373f85ddd937c395b..47a3ed16159a405ea51e8220df4baa3af0d0fdf2 100644 (file)
@@ -328,7 +328,7 @@ get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot)
                } else {
                        /* Did not get a match on the target PCI device. Check
                         * if the current IRQ table entry is a PCI-to-PCI
-                        * bridge device.  If so, and it's secondary bus
+                        * bridge device.  If so, and its secondary bus
                         * matches the bus number for the target device, I need
                         * to save the bridge's slot number.  If I can not find
                         * an entry for the target device, I will have to
index 7333b305f2a578789893fdbdbdeb82510c8f61c5..055518ee354dc9eff880b69c58349be107703aa9 100644 (file)
@@ -112,7 +112,7 @@ static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
 
 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
 {
-       /* if the slot exits it always contains a function */
+       /* if the slot exists it always contains a function */
        *value = 1;
        return 0;
 }
index a715a4803c95729736da1fa2dfa5df21c34756ff..9fb7cacc15cdef4a2701e140c7fc485283ca9fbf 100644 (file)
@@ -156,7 +156,7 @@ EXPORT_SYMBOL_GPL(pci_iomap_wc);
  * the different IOMAP ranges.
  *
  * But if the architecture does not use the generic iomap code, and if
- * it has _not_ defined it's own private pci_iounmap function, we define
+ * it has _not_ defined its own private pci_iounmap function, we define
  * it here.
  *
  * NOTE! This default implementation assumes that if the architecture