[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220206132826.1523-1-yang.lee@linux.alibaba.com>
Date: Sun, 6 Feb 2022 21:28:26 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: viro@...iv.linux.org.uk
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] fs: Remove two excess function parameters in kernel-doc comment
Remove the excess @opened in finish_open() and @cred in vfs_open()
kernel-doc comment to remove warnings found by running scripts/kernel-doc,
which is caused by using 'make W=1'.
fs/open.c:1048: warning: Excess function parameter 'opened' description
in 'finish_open'
fs/open.c:1090: warning: Excess function parameter 'cred' description in
'vfs_open'
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
fs/open.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index cf4cddc4e3f5..dbfb99a95ec0 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -1030,7 +1030,6 @@ static int do_dentry_open(struct file *f,
* @file: file pointer
* @dentry: pointer to dentry
* @open: open callback
- * @opened: state of open
*
* This can be used to finish opening a file passed to i_op->atomic_open().
*
@@ -1084,7 +1083,6 @@ EXPORT_SYMBOL(file_path);
* vfs_open - open the file at the given path
* @path: path to open
* @file: newly allocated file with f_flag initialized
- * @cred: credentials to use
*/
int vfs_open(const struct path *path, struct file *file)
{
--
2.20.1.7.g153144c
Powered by blists - more mailing lists