Skip to contentSkip to conversation

pci: fix kernel-doc notation warning

PATCH In review Randy Dunlap 2 participants 2 messages Feb 3, 2014 – Feb 12, 2014 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: fix kernel-doc notation warning

From: Randy Dunlap <[email protected]>

Fix a "blank" kernel-doc line to have an asterisk instead of being totally empty. This fixes the kernel-doc warning:

Warning(drivers/pci/msi.c:962): bad line:

---
 drivers/pci/msi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/msi.c +1 -1
@@ -959,7 +959,7 @@ EXPORT_SYMBOL(pci_disable_msi);
 /**
  * pci_msix_vec_count - return the number of device's MSI-X table entries
  * @dev: pointer to the pci_dev data structure of MSI-X device function
-
+ *
  * This function returns the number of device's MSI-X table entries and
  * therefore the number of MSI-X vectors device is capable of sending.
  * It returns a negative errno if the device is not capable of sending MSI-X
maintainer
#1 lore raw
Quoted 8 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Fix a "blank" kernel-doc line to have an asterisk instead of being totally empty. This fixes the kernel-doc warning:

Warning(drivers/pci/msi.c:962): bad line:

I applied this fix already (but it's not in -next yet):

http://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=pci/msi&id=39af663b5fd25c9dd427e12e106763b6b4f9572c

Thanks!

Bjorn

Quoted 15 lines
---
 drivers/pci/msi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/msi.c +1 -1
@@ -959,7 +959,7 @@ EXPORT_SYMBOL(pci_disable_msi);
 /**
  * pci_msix_vec_count - return the number of device's MSI-X table entries
  * @dev: pointer to the pci_dev data structure of MSI-X device function
-
+ *
  * This function returns the number of device's MSI-X table entries and
  * therefore the number of MSI-X vectors device is capable of sending.
  * It returns a negative errno if the device is not capable of sending MSI-X