Skip to contentSkip to conversation

powerpc: fix kernel-doc warning

PATCH New Manuel Ebner 1 participant 1 message Nov 22 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: fix kernel-doc warning

Add 'struct' to kernel-doc to fix:

  $ ./scripts/kernel-doc --none arch/powerpc/include/asm/hvcserver.h
  Warning: arch/powerpc/include/asm/hvcserver.h:30 cannot understand function prototype: 'struct hvcs_partner_info'
---
 arch/powerpc/include/asm/hvcserver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/include/asm/hvcserver.h +1 -1
index 2b20403e9f..b26340c43b 100644
@@ -16,7 +16,7 @@
 #define HVCS_CLC_LENGTH	79
 
 /**
- * hvcs_partner_info - an element in a list of partner info
+ * struct hvcs_partner_info - an element in a list of partner info
  * @node: list_head denoting this partner_info struct's position in the list of
  *	partner info.
  * @unit_address: The partner unit address of this entry.
Signature · 1 line
2.56.0