Commit 7730c3be authored by Zenghui Yu's avatar Zenghui Yu Committed by Bjorn Helgaas
Browse files

Documentation: PCI: Fix pci_alloc_irq_vectors() function name typo

Documentation/PCI/msi-howto.rst referred to pci_irq_alloc_vectors() when it
should refer to pci_alloc_irq_vectors().  Fix the typo.

Link: https://lore.kernel.org/r/20191230131428.1200-1-yuzenghui@huawei.com


Signed-off-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarAndrew Murray <andrew.murray@arm.com>
parent 3030df20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -283,5 +283,5 @@ or disabled (0). If 0 is found in any of the msi_bus files belonging
to bridges between the PCI root and the device, MSIs are disabled.

It is also worth checking the device driver to see whether it supports MSIs.
For example, it may contain calls to pci_irq_alloc_vectors() with the
For example, it may contain calls to pci_alloc_irq_vectors() with the
PCI_IRQ_MSI or PCI_IRQ_MSIX flags.