Skip to contentSkip to conversation

docs: fix typos in Documentation/PCI/

PATCH In review josh ziegler 3 participants 3 messages Apr 21

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: fix typos in Documentation/PCI/

Fix "chose" -> "choose" in pci.rst
Fix "result an" -> "result in an" in pciebus-howto.rst

---
 Documentation/PCI/pci.rst           | 2 +-
 Documentation/PCI/pciebus-howto.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/PCI/pci.rst +1 -1
index f4d2662871ab..be35e9a1ee75 100644
@@ -338,7 +338,7 @@ the PCI_IRQ_MSI and PCI_IRQ_MSIX flags will fail, so try to always
 specify PCI_IRQ_INTX as well.
 
 Drivers that have different interrupt handlers for MSI/MSI-X and
-legacy INTx should chose the right one based on the msi_enabled
+legacy INTx should choose the right one based on the msi_enabled
 and msix_enabled flags in the pci_dev structure after calling
 pci_alloc_irq_vectors.
 
Documentation/PCI/pciebus-howto.rst +1 -1
index 375d9ce171f6..9cc133ccdeec 100644
@@ -97,7 +97,7 @@ register its service with the PCI Express Port Bus driver (see
 section 5.2.1 & 5.2.2). It is important that a service driver
 initializes the pcie_port_service_driver data structure, included in
 header file /include/linux/pcieport_if.h, before calling these APIs.
-Failure to do so will result an identity mismatch, which prevents
+Failure to do so will result in an identity mismatch, which prevents
 the PCI Express Port Bus driver from loading a service driver.
 
 pcie_port_service_register
Signature · 1 line
2.43.0
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · josh ziegler

Fix "chose" -> "choose" in pci.rst
Fix "result an" -> "result in an" in pciebus-howto.rst

Quoted 31 lines
---
 Documentation/PCI/pci.rst           | 2 +-
 Documentation/PCI/pciebus-howto.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/PCI/pci.rst +1 -1
index f4d2662871ab..be35e9a1ee75 100644
@@ -338,7 +338,7 @@ the PCI_IRQ_MSI and PCI_IRQ_MSIX flags will fail, so try to always
 specify PCI_IRQ_INTX as well.
 
 Drivers that have different interrupt handlers for MSI/MSI-X and
-legacy INTx should chose the right one based on the msi_enabled
+legacy INTx should choose the right one based on the msi_enabled
 and msix_enabled flags in the pci_dev structure after calling
 pci_alloc_irq_vectors.
 
Documentation/PCI/pciebus-howto.rst +1 -1
index 375d9ce171f6..9cc133ccdeec 100644
@@ -97,7 +97,7 @@ register its service with the PCI Express Port Bus driver (see
 section 5.2.1 & 5.2.2). It is important that a service driver
 initializes the pcie_port_service_driver data structure, included in
 header file /include/linux/pcieport_if.h, before calling these APIs.
-Failure to do so will result an identity mismatch, which prevents
+Failure to do so will result in an identity mismatch, which prevents
 the PCI Express Port Bus driver from loading a service driver.
 
 pcie_port_service_register
Signature · 1 line
~Randy
#2 lore raw
In reply to josh ziegler
Quoted 4 lines · josh ziegler

Fix "chose" -> "choose" in pci.rst
Fix "result an" -> "result in an" in pciebus-howto.rst

Applied with Randy's ack to pci/misc for v7.2, thanks!

Updated subject line to match local history:

Documentation: PCI: Fix typos

Quoted 34 lines
---
 Documentation/PCI/pci.rst           | 2 +-
 Documentation/PCI/pciebus-howto.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/PCI/pci.rst +1 -1
index f4d2662871ab..be35e9a1ee75 100644
@@ -338,7 +338,7 @@ the PCI_IRQ_MSI and PCI_IRQ_MSIX flags will fail, so try to always
 specify PCI_IRQ_INTX as well.
 
 Drivers that have different interrupt handlers for MSI/MSI-X and
-legacy INTx should chose the right one based on the msi_enabled
+legacy INTx should choose the right one based on the msi_enabled
 and msix_enabled flags in the pci_dev structure after calling
 pci_alloc_irq_vectors.
 
Documentation/PCI/pciebus-howto.rst +1 -1
index 375d9ce171f6..9cc133ccdeec 100644
@@ -97,7 +97,7 @@ register its service with the PCI Express Port Bus driver (see
 section 5.2.1 & 5.2.2). It is important that a service driver
 initializes the pcie_port_service_driver data structure, included in
 header file /include/linux/pcieport_if.h, before calling these APIs.
-Failure to do so will result an identity mismatch, which prevents
+Failure to do so will result in an identity mismatch, which prevents
 the PCI Express Port Bus driver from loading a service driver.
 
 pcie_port_service_register
Signature · 1 line
2.43.0