]> www.infradead.org Git - linux.git/commit
PCI: endpoint: Add missing documentation about the MSI/MSI-X range
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fri, 2 Jun 2023 11:47:48 +0000 (17:17 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 Jun 2023 20:04:46 +0000 (15:04 -0500)
commitff2f19d6f1fcb6128950263c3ea46ff1aefec54f
treea64ad6a9ed185aeb886fab3c87158b3c51a559b2
parentb6a6e0331fad61e38316a00e14ef6381d9f03161
PCI: endpoint: Add missing documentation about the MSI/MSI-X range

Both pci_epc_raise_irq() and pci_epc_map_msi_irq() APIs expect the
MSI/MSI-X vectors to start from 1 but it is not documented. Add the range
info to the kdoc of the APIs to make it clear.

Link: https://lore.kernel.org/r/20230602114756.36586-2-manivannan.sadhasivam@linaro.org
Fixes: 5e8cb4033807 ("PCI: endpoint: Add EP core layer to enable EP controller and EP functions")
Fixes: 87d5972e476f ("PCI: endpoint: Add pci_epc_ops to map MSI IRQ")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
drivers/pci/endpoint/pci-epc-core.c