[PATCH] drivers: pci: pci.c: Fix a warning on make htmldocs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux