diff mbox series

genirq: fix the kerneldoc comment for struct irq_affinity_desc

Message ID 20190108170432.59bae8a6@lwn.net
State Accepted
Commit 70921ae25f944423f0abf096f73455c586da0652
Headers show
Series genirq: fix the kerneldoc comment for struct irq_affinity_desc | expand

Commit Message

Jonathan Corbet Jan. 9, 2019, 12:04 a.m. UTC
Commit c410abbbacb9 ("genirq/affinity: Add is_managed to struct
irq_affinity_desc") 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.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>

---
 include/linux/interrupt.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1
diff mbox series

Patch

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;