summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/file.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-07-12 09:46:37 +0200
committerRichard Weinberger <richard@nod.at>2023-10-28 22:03:14 +0200
commit48ec6328de6c153a64474d9e5b6ec95f20f4142b (patch)
tree8bc712fddf172288471d73fa029bee95c5e597c1 /fs/ubifs/file.c
parentLinux 6.6-rc6 (diff)
downloadlinux-48ec6328de6c153a64474d9e5b6ec95f20f4142b.tar.xz
linux-48ec6328de6c153a64474d9e5b6ec95f20f4142b.zip
ubifs: Fix some kernel-doc comments
Add description of @time and @flags in ubifs_update_time(). to silence the warnings: fs/ubifs/file.c:1383: warning: Function parameter or member 'time' not described in 'ubifs_update_time' fs/ubifs/file.c:1383: warning: Function parameter or member 'flags' not described in 'ubifs_update_time' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5848 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/file.c')
-rw-r--r--fs/ubifs/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index e5382f0b2587..3345be5edb9f 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1375,6 +1375,9 @@ static inline int mctime_update_needed(const struct inode *inode,
/**
* ubifs_update_time - update time of inode.
* @inode: inode to update
+ * @time: timespec structure to hold the current time value
+ * @flags: time updating control flag determines updating
+ * which time fields of @inode
*
* This function updates time of the inode.
*/