docs: fix typos in Documentation/PCI/
Subsystems (2)
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
Signed-off-by josh ziegler <[email protected]>
--- Documentation/PCI/pci.rst | 2 +- Documentation/PCI/pciebus-howto.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/PCI/pci.rst +1 -1
@@ -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
@@ -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
Quoted 4 lines · josh ziegler
Fix "chose" -> "choose" in
pci.rst
Fix "result an" -> "result in an" inpciebus-howto.rstSigned-off-by josh ziegler <[email protected]>
Acked-by Randy Dunlap <[email protected]>
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@@ -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@@ -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
Quoted 4 lines · josh ziegler
Fix "chose" -> "choose" in
pci.rst
Fix "result an" -> "result in an" inpciebus-howto.rstSigned-off-by josh ziegler <[email protected]>
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@@ -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@@ -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_registerSignature · 1 line
2.43.0