Patchwork pci: fix drivers/pci/pci.c kernel-doc warnings

login
register
mail settings
Submitter Randy.Dunlap
Date Aug. 19, 2012, 12:37 a.m.
Message ID <50303561.4020707@xenotime.net>
Download mbox | patch
Permalink /patch/178505/
State Accepted
Headers show

Comments

Randy.Dunlap - Aug. 19, 2012, 12:37 a.m.
From: Randy Dunlap <rdunlap@xenotime.net>

Fix kernel-doc warnings in drivers/pci/pci.c:

Warning(drivers/pci/pci.c:1550): No description found for parameter 'pci_dev'
Warning(drivers/pci/pci.c:1550): Excess function parameter 'dev' description in 'pci_wakeup'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc:	Bjorn Helgaas <bhelgaas@google.com>
Cc:	linux-pci@vger.kernel.org
---
 drivers/pci/pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bjorn Helgaas - Aug. 22, 2012, 5:50 p.m.
On Sat, Aug 18, 2012 at 5:37 PM, Randy Dunlap <rdunlap@xenotime.net> wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix kernel-doc warnings in drivers/pci/pci.c:
>
> Warning(drivers/pci/pci.c:1550): No description found for parameter 'pci_dev'
> Warning(drivers/pci/pci.c:1550): Excess function parameter 'dev' description in 'pci_wakeup'

Applied, thanks!

> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> Cc:     Bjorn Helgaas <bhelgaas@google.com>
> Cc:     linux-pci@vger.kernel.org
> ---
>  drivers/pci/pci.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- lnx-36-rc2.orig/drivers/pci/pci.c
> +++ lnx-36-rc2/drivers/pci/pci.c
> @@ -1543,7 +1543,7 @@ void pci_pme_wakeup_bus(struct pci_bus *
>
>  /**
>   * pci_wakeup - Wake up a PCI device
> - * @dev: Device to handle.
> + * @pci_dev: Device to handle.
>   * @ign: ignored parameter
>   */
>  static int pci_wakeup(struct pci_dev *pci_dev, void *ign)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- lnx-36-rc2.orig/drivers/pci/pci.c
+++ lnx-36-rc2/drivers/pci/pci.c
@@ -1543,7 +1543,7 @@  void pci_pme_wakeup_bus(struct pci_bus *
 
 /**
  * pci_wakeup - Wake up a PCI device
- * @dev: Device to handle.
+ * @pci_dev: Device to handle.
  * @ign: ignored parameter
  */
 static int pci_wakeup(struct pci_dev *pci_dev, void *ign)