genirq: Fix new kernel-doc warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 18 Mar 2011 16:33:56 +0000 (09:33 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 28 Mar 2011 18:13:57 +0000 (20:13 +0200)
Fix new irq-related kernel-doc warnings in 2.6.38:

Warning(kernel/irq/manage.c:149): No description found for parameter 'mask'
Warning(kernel/irq/manage.c:149): Excess function parameter 'cpumask' description in 'irq_set_affinity'
Warning(include/linux/irq.h:161): No description found for parameter 'state_use_accessors'
Warning(include/linux/irq.h:161): Excess struct/union/enum/typedef member 'state_use_accessor' description in 'irq_data'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
LKML-Reference: <20110318093356.b939558d.randy.dunlap@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/manage.c

index 34b954e542674357894bd716c41b1853c55e932a..b3741c83774ca4df50ba9b6805cb9654902431a5 100644 (file)
@@ -135,7 +135,7 @@ struct msi_desc;
  * struct irq_data - per irq and irq chip data passed down to chip functions
  * @irq:               interrupt number
  * @node:              node index useful for balancing
- * @state_use_accessor: status information for irq chip functions.
+ * @state_use_accessors: status information for irq chip functions.
  *                     Use accessor functions to deal with it
  * @chip:              low level interrupt hardware access
  * @handler_data:      per-IRQ data for the irq_chip methods
index 6e8acb755993459b989a882d7ddb7c42a9bd13f2..805c6a0ce78040f1cd942ff206b91cdaaf648bf1 100644 (file)
@@ -175,7 +175,7 @@ int __irq_set_affinity_locked(struct irq_data *data, const struct cpumask *mask)
 /**
  *     irq_set_affinity - Set the irq affinity of a given irq
  *     @irq:           Interrupt to set affinity
- *     @cpumask:       cpumask
+ *     @mask:          cpumask
  *
  */
 int irq_set_affinity(unsigned int irq, const struct cpumask *mask)