2019-12-12 11:16:15

by Zenghui Yu

[permalink] [raw]
Subject: [PATCH] Documentation: PCI: msi-howto.rst: Fix wrong function name

pci_irq_alloc_vectors() -> pci_alloc_irq_vectors().

Signed-off-by: Zenghui Yu <[email protected]>
---
Documentation/PCI/msi-howto.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
index 994cbb660ade..aa2046af69f7 100644
--- a/Documentation/PCI/msi-howto.rst
+++ b/Documentation/PCI/msi-howto.rst
@@ -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.
--
2.19.1



2019-12-12 12:52:50

by Andrew Murray

[permalink] [raw]
Subject: Re: [PATCH] Documentation: PCI: msi-howto.rst: Fix wrong function name

On Thu, Dec 12, 2019 at 07:13:38PM +0800, Zenghui Yu wrote:
> pci_irq_alloc_vectors() -> pci_alloc_irq_vectors().
>
> Signed-off-by: Zenghui Yu <[email protected]>
> ---
> Documentation/PCI/msi-howto.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
> index 994cbb660ade..aa2046af69f7 100644
> --- a/Documentation/PCI/msi-howto.rst
> +++ b/Documentation/PCI/msi-howto.rst
> @@ -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

Reviewed-by: Andrew Murray <[email protected]>

Thanks,

Andrew Murray

> PCI_IRQ_MSI or PCI_IRQ_MSIX flags.
> --
> 2.19.1
>
>