[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1108161552120.10249@odin>
Date: Tue, 16 Aug 2011 16:00:23 -0300 (BRT)
From: Marcos Paulo Souza <marcos.mage@...il.com>
To: jbarnes@...tuousgeek.org
cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drivers: pci: pci.c: Fix a warning on make htmldocs
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists