From: josh ziegler Date: Tue, 21 Apr 2026 01:20:59 +0000 (-0400) Subject: Documentation: PCI: Fix typos X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb4836551fc7b22f94f051846c60234c31869b64;p=thirdparty%2Flinux.git Documentation: PCI: Fix typos Fix "chose" -> "choose" in pci.rst Fix "result an" -> "result in an" in pciebus-howto.rst Signed-off-by: josh ziegler Signed-off-by: Bjorn Helgaas Acked-by: Randy Dunlap Link: https://patch.msgid.link/20260421012059.251492-1-joshziegler76@gmail.com --- diff --git a/Documentation/PCI/pci.rst b/Documentation/PCI/pci.rst index f4d2662871ab1..be35e9a1ee75f 100644 --- a/Documentation/PCI/pci.rst +++ b/Documentation/PCI/pci.rst @@ -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. diff --git a/Documentation/PCI/pciebus-howto.rst b/Documentation/PCI/pciebus-howto.rst index 375d9ce171f62..9cc133ccdeece 100644 --- a/Documentation/PCI/pciebus-howto.rst +++ b/Documentation/PCI/pciebus-howto.rst @@ -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