]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: endpoint: Fix typo in pci_epf_add_vepf() kernel-doc
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Tue, 24 Feb 2026 18:39:19 +0000 (10:39 -0800)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 5 Mar 2026 06:14:56 +0000 (11:44 +0530)
The function description in kernel-doc refers to pci_epf_add_epf(), but the
correct function name is pci_epf_add_vepf(). Update it to match the
implementation.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
[mani: commit log]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260224183927.1369124-1-alok.a.tiwari@oracle.com
drivers/pci/endpoint/pci-epf-core.c

index 83fd20c1123870f03d0c12ae95ca64ffef87c15a..6987343c9e61cf0d71e2d60c4a3d96bf31186c15 100644 (file)
@@ -149,7 +149,7 @@ EXPORT_SYMBOL_GPL(pci_epf_bind);
  * @epf_vf: the virtual EP function to be added
  *
  * A physical endpoint function can be associated with multiple virtual
- * endpoint functions. Invoke pci_epf_add_epf() to add a virtual PCI endpoint
+ * endpoint functions. Invoke pci_epf_add_vepf() to add a virtual PCI endpoint
  * function to a physical PCI endpoint function.
  */
 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf)