[PATCH -next] fs: Fix one kernel-doc comment

Yang Li posted 1 patch 3 years, 11 months ago
There is a newer version of this series
fs/open.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] fs: Fix one kernel-doc comment
Posted by Yang Li 3 years, 11 months ago
Remove one warning found by running scripts/kernel-doc,
which is caused by using 'make W=1'.
fs/open.c:979: warning: Excess function parameter 'cred' description in
'vfs_open'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/open.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/open.c b/fs/open.c
index 1d57fbde2feb..4791b9a367f1 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -973,7 +973,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