]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: Fix pci.c kernel-doc parameter warning
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 3 Sep 2018 02:32:50 +0000 (19:32 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Sep 2018 21:35:14 +0000 (16:35 -0500)
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@infradead.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c

index dc3313d26c79422a76e055582a70138d40c74f1b..455783d3acdfc6a6795ad19541df849b9ebeebd9 100644 (file)
@@ -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