Skip to contentSkip to conversation

Fix warning messages during documentation compilation

PATCH New Ivan Orlov 1 participant 1 message Feb 7, 2023 VFS

lore
Share & tools
lore

Ivan Orlov

author
#0 lore raw

PATCH 1/1 Fix warning messages during documentation compilation

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.

---
 fs/namei.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/namei.c +2 -2
index 309ae6fc8c99..b6f89b29dbc7 100644
@@ -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.
  *
Signature · 1 line
2.34.1