* [PATCH] drivers: pci: pci.c: Fix a warning on make htmldocs
@ 2011-08-16 19:00 Marcos Paulo Souza
0 siblings, 0 replies; only message in thread
From: Marcos Paulo Souza @ 2011-08-16 19:00 UTC (permalink / raw)
To: jbarnes; +Cc: linux-pci, linux-kernel
The fucntion pcie_set_mps has a parameter called mps, and this parameter
was not documented. Instead, the documentation was about the rq parameter.
Changing rq to mps on the documentation fix this warning.
Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
---
drivers/pci/pci.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 466fad6..1b78afe 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -3250,8 +3250,8 @@ 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
- * valid values are 128, 256, 512, 1024, 2048, 4096
+ * @mps: maximum payload size in bytes
+ * valid values are 128, 256, 512, 1024, 2048, 4096
*
* If possible sets maximum payload size
*/
--
1.7.4.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-16 19:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-16 19:00 [PATCH] drivers: pci: pci.c: Fix a warning on make htmldocs Marcos Paulo Souza
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®