lkml.org 
[lkml]   [2022]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] fs: Fix one kernel-doc comment
Date
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
\
 
 \ /
  Last update: 2022-05-26 15:39    [W:0.021 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site