linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pci: fix new kernel-doc warning in pci.c
@ 2011-08-20 18:49 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-08-20 18:49 UTC (permalink / raw)
  To: lkml, linux-pci; +Cc: torvalds, Jesse Barnes

From: Randy Dunlap <rdunlap@xenotime.net>

Fix new kernel-doc warning in pci.c:

Warning(drivers/pci/pci.c:3259): No description found for parameter 'mps'
Warning(drivers/pci/pci.c:3259): Excess function parameter 'rq' description in 'pcie_set_mps'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/pci/pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.1-rc2-git8.orig/drivers/pci/pci.c
+++ linux-3.1-rc2-git8/drivers/pci/pci.c
@@ -3250,7 +3250,7 @@ int pcie_get_mps(struct pci_dev *dev)
 /**
  * pcie_set_mps - set PCI Express maximum payload size
  * @dev: PCI device to query
- * @rq: maximum payload size in bytes
+ * @mps: maximum payload size in bytes
  *    valid values are 128, 256, 512, 1024, 2048, 4096
  *
  * If possible sets maximum payload size

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-20 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-20 18:49 [PATCH] pci: fix new kernel-doc warning in pci.c Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).