mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] ubifs: Fix one kernel-doc comment
@ 2023-10-24  0:51 Yang Li
  0 siblings, 0 replies; only message in thread
From: Yang Li @ 2023-10-24  0:51 UTC (permalink / raw)
  To: richard; +Cc: linux-mtd, linux-kernel, Yang Li, Abaci Robot

Add a description of parameter @flags in ubifs_update_time()
to silence the warning:

fs/ubifs/file.c:1382: 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=7049
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/ubifs/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 2e65fd2dbdc3..cd27efb0234b 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1375,6 +1375,7 @@ static inline int mctime_update_needed(const struct inode *inode,
 /**
  * ubifs_update_time - update time of inode.
  * @inode: inode to update
+ * @flags: S_* flags that needed to be updated
  *
  * This function updates time of the inode.
  */
-- 
2.20.1.7.g153144c


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-24  0:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  0:51 [PATCH -next] ubifs: Fix one kernel-doc comment Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome