[PATCH] fs/writeback: fix kernel-doc warnings

From: Haifeng Xu
Date: Sun Jul 28 2024 - 22:06:30 EST


The kernel test robot reported kernel-doc warnings here:

fs/fs-writeback.c:1144: warning: Function parameter or struct member 'sb' not described in 'cgroup_writeback_umount'

cgroup_writeback_umount() is missing an argument description, fix it.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202407261749.LkRbgZxK-lkp@xxxxxxxxx/
Signed-off-by: Haifeng Xu <haifeng.xu@xxxxxxxxxx>
---
fs/fs-writeback.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 09facd4356d9..cf08f622d720 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1132,6 +1132,7 @@ int cgroup_writeback_by_id(u64 bdi_id, int memcg_id,

/**
* cgroup_writeback_umount - flush inode wb switches for umount
+ * @sb: superblock to kill
*
* This function is called when a super_block is about to be destroyed and
* flushes in-flight inode wb switches. An inode wb switch goes through
--
2.25.1