[PATCH 2/3] ubifs: key.h: use correct function parameter name

Randy Dunlap rdunlap at infradead.org
Wed Jul 29 10:20:43 PDT 2026


Use @hash as the function parameter name to prevent kernel-doc warnings:

Warning: fs/ubifs/key.h:42 function parameter 'hash' not described in 'key_mask_hash'
Warning: fs/ubifs/key.h:42 Excess function parameter 'val' description in 'key_mask_hash'

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
---
Cc: Richard Weinberger <richard at nod.at>
Cc: Zhihao Cheng <chengzhihao1 at huawei.com>
Cc: linux-mtd at lists.infradead.org

 fs/ubifs/key.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20260729.orig/fs/ubifs/key.h
+++ linux-next-20260729/fs/ubifs/key.h
@@ -33,7 +33,7 @@
 
 /**
  * key_mask_hash - mask a valid hash value.
- * @val: value to be masked
+ * @hash: value to be masked
  *
  * We use hash values as offset in directories, so values %0 and %1 are
  * reserved for "." and "..". %2 is reserved for "end of readdir" marker. This



More information about the linux-mtd mailing list