summaryrefslogtreecommitdiff
path: root/fs/nilfs2/alloc.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@gmail.com>2025-01-10 10:01:49 +0900
committerAndrew Morton <akpm@linux-foundation.org>2025-01-24 22:47:25 -0800
commitfd4e7fadfd91023c2c5868f16af3fe8bed06636b (patch)
tree4eb42263bb5b55301d9d2a317d577cc7a9104a21 /fs/nilfs2/alloc.h
parent343d4a33f26d048fde4b02cfc3681f766b3f1b12 (diff)
nilfs2: add missing return value kernel-doc descriptions
There are a number of kernel-doc comments for functions that are missing return values, which also causes a number of warnings when the kernel-doc script is run with the "-Wall" option. Fix this issue by adding proper return value descriptions, and improve code maintainability. Link: https://lkml.kernel.org/r/20250110010530.21872-7-konishi.ryusuke@gmail.com Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Cc: "Brian G ." <gissf1@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/alloc.h')
-rw-r--r--fs/nilfs2/alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nilfs2/alloc.h b/fs/nilfs2/alloc.h
index 3f115ab7e9a7..046d876ea3e0 100644
--- a/fs/nilfs2/alloc.h
+++ b/fs/nilfs2/alloc.h
@@ -21,6 +21,8 @@
*
* The number of entries per group is defined by the number of bits
* that a bitmap block can maintain.
+ *
+ * Return: Number of entries per group.
*/
static inline unsigned long
nilfs_palloc_entries_per_group(const struct inode *inode)