Skip to contentSkip to conversation

ubifs: Fix ubifs_check_dir_empty() kernel-doc comment

PATCH New Yang Li 1 participant 1 message Jan 13, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 ubifs: Fix ubifs_check_dir_empty() kernel-doc comment

Fix function name in fs/ubifs/dir.c kernel-doc comment to remove warning found by running scripts/kernel-doc, which is caused by using 'make W=1'.

fs/ubifs/dir.c:883: warning: expecting prototype for check_dir_empty(). Prototype was for ubifs_check_dir_empty() instead

---
 fs/ubifs/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ubifs/dir.c +1 -1
index ae082a0be2a3..d208d1e35361 100644
@@ -872,7 +872,7 @@ static int ubifs_unlink(struct inode *dir, struct dentry *dentry)
 }
 
 /**
- * check_dir_empty - check if a directory is empty or not.
+ * ubifs_check_dir_empty - check if a directory is empty or not.
  * @dir: VFS inode object of the directory to check
  *
  * This function checks if directory @dir is empty. Returns zero if the
Signature · 1 line
2.20.1.7.g153144c