diff options
| author | Ryusuke Konishi <konishi.ryusuke@gmail.com> | 2025-01-10 10:01:49 +0900 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-24 22:47:25 -0800 |
| commit | fd4e7fadfd91023c2c5868f16af3fe8bed06636b (patch) | |
| tree | 4eb42263bb5b55301d9d2a317d577cc7a9104a21 /fs/nilfs2/dat.c | |
| parent | 343d4a33f26d048fde4b02cfc3681f766b3f1b12 (diff) | |
| download | lwn-fd4e7fadfd91023c2c5868f16af3fe8bed06636b.tar.gz lwn-fd4e7fadfd91023c2c5868f16af3fe8bed06636b.zip | |
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/dat.c')
| -rw-r--r-- | fs/nilfs2/dat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nilfs2/dat.c b/fs/nilfs2/dat.c index c57445e62298..c5664035b3e3 100644 --- a/fs/nilfs2/dat.c +++ b/fs/nilfs2/dat.c @@ -481,6 +481,8 @@ ssize_t nilfs_dat_get_vinfo(struct inode *dat, void *buf, unsigned int visz, * @entry_size: size of a dat entry * @raw_inode: on-disk dat inode * @inodep: buffer to store the inode + * + * Return: 0 on success, or a negative error code on failure. */ int nilfs_dat_read(struct super_block *sb, size_t entry_size, struct nilfs_inode *raw_inode, struct inode **inodep) |
