[PATCH] irqdomain: fix kernel-doc warning for struct irq_fwspec_info

Kriish Sharma posted 1 patch 3 months, 1 week ago
include/linux/irqdomain.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] irqdomain: fix kernel-doc warning for struct irq_fwspec_info
Posted by Kriish Sharma 3 months, 1 week ago
Fix the following kernel-doc warning reported by `scripts/kernel-doc`:

  WARNING: ./include/linux/irqdomain.h:59 struct member 'affinity' not described in 'irq_fwspec_info'

The field name in the comment block was documented as '@cpumask',
but the actual member is named 'affinity'. Update the kernel-doc
comment to match the structure definition.

Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
---
 include/linux/irqdomain.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 5907baf6099d..952d3c8dd6b7 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -48,7 +48,7 @@ struct irq_fwspec {
  * struct irq_fwspec_info - firmware provided IRQ information structure
  *
  * @flags:		Information validity flags
- * @cpumask:		Affinity mask for this interrupt
+ * @affinity:		Affinity mask for this interrupt
  *
  * This structure reports firmware-specific information about an
  * interrupt. The only significant information is the affinity of a
-- 
2.34.1