Skip to content

Commit 48ec632

Browse files
Yang Lirichardweinberger
authored andcommitted
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 <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5848 Signed-off-by: Yang Li <[email protected]> Reviewed-by: Zhihao Cheng <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent 5872080 commit 48ec632

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fs/ubifs/file.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,6 +1375,9 @@ static inline int mctime_update_needed(const struct inode *inode,
13751375
/**
13761376
* ubifs_update_time - update time of inode.
13771377
* @inode: inode to update
1378+
* @time: timespec structure to hold the current time value
1379+
* @flags: time updating control flag determines updating
1380+
* which time fields of @inode
13781381
*
13791382
* This function updates time of the inode.
13801383
*/

0 commit comments

Comments
 (0)