[PATCH] llist: use correct function parameter name

Randy Dunlap posted 1 patch 11 hours ago
include/linux/llist.h |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] llist: use correct function parameter name
Posted by Randy Dunlap 11 hours ago
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'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Andrew Morton <akpm@linux-foundation.org>

 include/linux/llist.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20260720.orig/include/linux/llist.h
+++ linux-next-20260720/include/linux/llist.h
@@ -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)
 {