[tip:irq/urgent] genirq: Fix the kerneldoc comment for struct irq_affinity_desc
From: tip-bot for Jonathan Corbet
Date: Tue Jan 15 2019 - 11:13:03 EST
Commit-ID: f0ca26ca4f36dc781cc50c15ca63a5cf02d720dc
Gitweb: https://git.kernel.org/tip/f0ca26ca4f36dc781cc50c15ca63a5cf02d720dc
Author: Jonathan Corbet <corbet@xxxxxxx>
AuthorDate: Tue, 8 Jan 2019 17:04:32 -0700
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Tue, 15 Jan 2019 17:09:33 +0100
genirq: Fix the kerneldoc comment for struct irq_affinity_desc
A recent commit added a new field but did not update the kerneldoc comment,
leading to this build warning:
./include/linux/interrupt.h:268: warning: Function parameter or member 'is_managed' not described in 'irq_affinity_desc'
Add the missing information, making the docs build 0.001% quieter.
Fixes: Commit c410abbbacb9 ("genirq/affinity: Add is_managed to struct irq_affinity_desc")
Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Dou Liyang <douliyangs@xxxxxxxxx>
Link: https://lkml.kernel.org/r/20190108170432.59bae8a6@xxxxxxx
---
include/linux/interrupt.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index c672f34235e7..4a728dba02e2 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -260,6 +260,7 @@ struct irq_affinity {
/**
* struct irq_affinity_desc - Interrupt affinity descriptor
* @mask: cpumask to hold the affinity assignment
+ * @is_managed: 1 if the interrupt is managed internally
*/
struct irq_affinity_desc {
struct cpumask mask;