]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nilfs2: add missing return value kernel-doc descriptions
authorRyusuke Konishi <konishi.ryusuke@gmail.com>
Fri, 10 Jan 2025 01:01:49 +0000 (10:01 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 25 Jan 2025 06:47:25 +0000 (22:47 -0800)
commitfd4e7fadfd91023c2c5868f16af3fe8bed06636b
tree4eb42263bb5b55301d9d2a317d577cc7a9104a21
parent343d4a33f26d048fde4b02cfc3681f766b3f1b12
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>
14 files changed:
fs/nilfs2/alloc.c
fs/nilfs2/alloc.h
fs/nilfs2/cpfile.c
fs/nilfs2/dat.c
fs/nilfs2/ifile.c
fs/nilfs2/inode.c
fs/nilfs2/mdt.c
fs/nilfs2/page.c
fs/nilfs2/recovery.c
fs/nilfs2/segment.c
fs/nilfs2/sufile.c
fs/nilfs2/sufile.h
fs/nilfs2/super.c
fs/nilfs2/the_nilfs.c