diff mbox series

[4/8] PCI/ATS: Update function name in the kernel-doc

Message ID 20210311001724.423356-4-kw@linux.com (mailing list archive)
State Accepted
Delegated to: Bjorn Helgaas
Headers show
Series [1/8] PCI: endpoint: Fix kernel-doc formatting and add missing documentation | expand

Commit Message

Krzysztof Wilczyński March 11, 2021, 12:17 a.m. UTC
Update function name in the kernel-doc to match function prototype for
function pci_max_pasids(), and resolve build time warning related to
kernel-doc:

  drivers/pci/ats.c:490: warning: expecting prototype for
  pci_max_pasid(). Prototype was for pci_max_pasids() instead

No change to functionality intended.

Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
---
 drivers/pci/ats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
index 0d3719407b8b..6d7d64939f82 100644
--- a/drivers/pci/ats.c
+++ b/drivers/pci/ats.c
@@ -480,7 +480,7 @@  EXPORT_SYMBOL_GPL(pci_pasid_features);
 #define PASID_NUMBER_SHIFT	8
 #define PASID_NUMBER_MASK	(0x1f << PASID_NUMBER_SHIFT)
 /**
- * pci_max_pasid - Get maximum number of PASIDs supported by device
+ * pci_max_pasids - Get maximum number of PASIDs supported by device
  * @pdev: PCI device structure
  *
  * Returns negative value when PASID capability is not present.