Linux-Fsdevel Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH -next] open: Fix some kernel-doc warnings in open.c
@ 2020-09-18 12:45 Wang Hai
0 siblings, 0 replies; only message in thread
From: Wang Hai @ 2020-09-18 12:45 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel, linux-kernel
Fixes the following W=1 kernel build warning(s):
fs/open.c:887: warning: Excess function parameter 'opened' description in 'finish_open'
fs/open.c:929: warning: Excess function parameter 'cred' description in 'vfs_open'
@opened and @cred are not in used, remove them.
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
fs/open.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index 9af548fb841b..3f6df10f07f7 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -869,7 +869,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().
*
@@ -923,7 +922,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.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-18 12:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 12:45 [PATCH -next] open: Fix some kernel-doc warnings in open.c Wang Hai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).