[PATCH] pci: fix pci.c kernel-doc parameter warning
From: Randy Dunlap
Date: Sun Sep 02 2018 - 22:32:55 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Fix kernel-doc warning:
../drivers/pci/pci.c:218: warning: Excess function parameter 'p' description in 'pci_dev_str_match_path'
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Cc: linux-pci@xxxxxxxxxxxxxxx
---
drivers/pci/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-419-rc2.orig/drivers/pci/pci.c
+++ lnx-419-rc2/drivers/pci/pci.c
@@ -196,7 +196,7 @@ EXPORT_SYMBOL_GPL(pci_ioremap_wc_bar);
/**
* pci_dev_str_match_path - test if a path string matches a device
* @dev: the PCI device to test
- * @p: string to match the device against
+ * @path: string to match the device against
* @endptr: pointer to the string after the match
*
* Test if a string (typically from a kernel parameter) formatted as a