Skip to contentSkip to conversation

llist: use correct function parameter name

PATCH Applied Randy Dunlap 1 participant 1 message Jul 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 llist: use correct function parameter name

Correct the function parameter name to avoid kernel-doc warnings:

Warning: ./include/linux/llist.h:71 function parameter 'list' not described in 'init_llist_head'
Warning: ./include/linux/llist.h:71 Excess function parameter 'head' description in 'init_llist_head'

---
Cc: Andrew Morton <[email protected]>

 include/linux/llist.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/llist.h +1 -1
@@ -66,7 +66,7 @@ struct llist_node {
 
 /**
  * init_llist_head - initialize lock-less list head
- * @head:	the head for your lock-less list
+ * @list:	the head for your lock-less list
  */
 static inline void init_llist_head(struct llist_head *list)
 {