Skip to contentSkip to conversation

ubifs: auth.c: fix kernel-doc function prototype warning

PATCH In review Randy Dunlap 2 participants 2 messages Nov 6, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ubifs: auth.c: fix kernel-doc function prototype warning

Use the correct function name in the kernel-doc comment to prevent a kernel-doc warning:

auth.c:30: warning: expecting prototype for ubifs_node_calc_hash(). Prototype was for __ubifs_node_calc_hash() instead

---
 fs/ubifs/auth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ubifs/auth.c +1 -1
diff -- a/fs/ubifs/auth.c b/fs/ubifs/auth.c
@@ -18,7 +18,7 @@
 #include "ubifs.h"
 
 /**
- * ubifs_node_calc_hash - calculate the hash of a UBIFS node
+ * __ubifs_node_calc_hash - calculate the hash of a UBIFS node
  * @c: UBIFS file-system description object
  * @node: the node to calculate a hash for
  * @hash: the returned hash
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Randy Dunlap

Use the correct function name in the kernel-doc comment to prevent a kernel-doc warning:

auth.c:30: warning: expecting prototype for ubifs_node_calc_hash(). Prototype was for __ubifs_node_calc_hash() instead

Quoted 9 lines
---
  fs/ubifs/auth.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)