ubifs: Fix some kernel-doc comments
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 12 Jul 2023 07:46:37 +0000 (15:46 +0800)
committerRichard Weinberger <richard@nod.at>
Sat, 28 Oct 2023 20:03:14 +0000 (22:03 +0200)
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>
fs/ubifs/file.c

index e5382f0b258782c68436a6b4f43ab036002a19d7..3345be5edb9fd0110f1915b6f6085bfd81a8d233 100644 (file)
@@ -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.
  */