diff mbox

pci: fix new kernel-doc warning

Message ID 20110525192125.144ec277.randy.dunlap@oracle.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Randy Dunlap May 26, 2011, 2:21 a.m. UTC
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix pci.c kernel-doc warnings:

Warning(drivers/pci/pci.c:3292): No description found for parameter 'flags'
Warning(drivers/pci/pci.c:3292): Excess function parameter 'change_bridge_flags' description in 'pci_set_vga_state'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 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
diff mbox

Patch

--- linux-2.6.39-git10.orig/drivers/pci/pci.c
+++ linux-2.6.39-git10/drivers/pci/pci.c
@@ -3284,7 +3284,7 @@  static int pci_set_vga_state_arch(struct
  * @dev: the PCI device
  * @decode: true = enable decoding, false = disable decoding
  * @command_bits: PCI_COMMAND_IO and/or PCI_COMMAND_MEMORY
- * @change_bridge_flags: traverse ancestors and change bridges
+ * @flags: traverse ancestors and change bridges
  * CHANGE_BRIDGE_ONLY / CHANGE_BRIDGE
  */
 int pci_set_vga_state(struct pci_dev *dev, bool decode,