* [PATCH] Fix warning messages during documentation compilation
@ 2023-02-07 16:32 Ivan Orlov
0 siblings, 0 replies; only message in thread
From: Ivan Orlov @ 2023-02-07 16:32 UTC (permalink / raw)
To: viro; +Cc: Ivan Orlov, linux-fsdevel, linux-kernel, skhan
Update vfs_tmpfile function description to make it correspond
to the actual parameters list. This patch will fix 2 of
the 'Excess function parameter' warning messages.
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
---
fs/namei.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 309ae6fc8c99..b6f89b29dbc7 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3571,9 +3571,9 @@ static int do_open(struct nameidata *nd,
/**
* vfs_tmpfile - create tmpfile
* @mnt_userns: user namespace of the mount the inode was found from
- * @dentry: pointer to dentry of the base directory
+ * @parentpath: pointer to path of the base directory
* @mode: mode of the new tmpfile
- * @open_flag: flags
+ * @file: pointer to the file structure
*
* Create a temporary file.
*
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-07 16:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-07 16:32 [PATCH] Fix warning messages during documentation compilation Ivan Orlov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.