lkml.org 
[lkml]   [2017]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs: add kernel-doc entry for function argument
Date
Building kernel docs causes SPHINX to emit

warning: No description found for parameter 'rcu'

Add kernel-doc description for parameter 'rcu'

Signed-off-by: Tobin C. Harding <me@tobin.cc>
---

Description taken from comments in update_ovl_inode_times()

/*
* Nothing to do if in rcu or if non-overlayfs
*/

fs/inode.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/inode.c b/fs/inode.c
index 03102d6ef044..0530b5b5e76f 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1669,6 +1669,7 @@ static int update_time(struct inode *inode, struct timespec *time, int flags)
* touch_atime - update the access time
* @path: the &struct path to update
* @inode: inode to update
+ * @rcu: true if in rcu
*
* Update the accessed time on an inode and mark it for writeback.
* This function automatically handles read only file systems and media,
--
2.7.4
\
 
 \ /
  Last update: 2017-12-19 07:29    [W:0.020 / U:2.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site