From: Ivan Orlov <ivan.orlov0322@gmail.com>
To: viro@zeniv.linux.org.uk
Cc: Ivan Orlov <ivan.orlov0322@gmail.com>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
skhan@linuxfoundation.org
Subject: [PATCH] Fix warning messages during documentation compilation
Date: Tue, 7 Feb 2023 19:32:43 +0300 [thread overview]
Message-ID: <20230207163243.20249-1-ivan.orlov0322@gmail.com> (raw)
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
reply other threads:[~2023-02-07 16:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230207163243.20249-1-ivan.orlov0322@gmail.com \
--to=ivan.orlov0322@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.