* [PATCH] IRQ: fix new kernel-doc warnings
@ 2011-03-18 16:33 Randy Dunlap
2011-03-28 18:18 ` [tip:irq/urgent] genirq: Fix " tip-bot for Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-03-18 16:33 UTC (permalink / raw)
To: lkml; +Cc: Thomas Gleixner
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
include/linux/irq.h | 2 +-
kernel/irq/manage.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.38-git4.orig/include/linux/irq.h
+++ linux-2.6.38-git4/include/linux/irq.h
@@ -134,7 +134,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
--- linux-2.6.38-git4.orig/kernel/irq/manage.c
+++ linux-2.6.38-git4/kernel/irq/manage.c
@@ -142,7 +142,7 @@ irq_get_pending(struct cpumask *mask, st
/**
* 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:irq/urgent] genirq: Fix new kernel-doc warnings
2011-03-18 16:33 [PATCH] IRQ: fix new kernel-doc warnings Randy Dunlap
@ 2011-03-28 18:18 ` tip-bot for Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Randy Dunlap @ 2011-03-28 18:18 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, randy.dunlap
Commit-ID: 30398bf6c684a77274dbdabf7efc1f24e4a99028
Gitweb: http://git.kernel.org/tip/30398bf6c684a77274dbdabf7efc1f24e4a99028
Author: Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Fri, 18 Mar 2011 09:33:56 -0700
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 28 Mar 2011 20:13:57 +0200
genirq: Fix new kernel-doc warnings
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 | 2 +-
kernel/irq/manage.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 34b954e..b3741c8 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -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
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 6e8acb7..805c6a0 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-28 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-18 16:33 [PATCH] IRQ: fix new kernel-doc warnings Randy Dunlap
2011-03-28 18:18 ` [tip:irq/urgent] genirq: Fix " tip-bot for Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome