linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] fs_parser: Fix 'name' kernel-doc warning in validate_constant_table()
@ 2020-09-11 12:04 Wang Hai
  0 siblings, 0 replies; only message in thread
From: Wang Hai @ 2020-09-11 12:04 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, linux-kernel

Fixes the following W=1 kernel build warning(s):

fs/fs_parser.c:322: warning: Excess function parameter 'name' description in 'validate_constant_table'

This parameter is not in use. Remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 fs/fs_parser.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index ab53e42a874..a5bd6ea5a03 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -310,7 +310,6 @@ EXPORT_SYMBOL(fs_param_is_path);
 #ifdef CONFIG_VALIDATE_FS_PARSER
 /**
  * validate_constant_table - Validate a constant table
- * @name: Name to use in reporting
  * @tbl: The constant table to validate.
  * @tbl_size: The size of the table.
  * @low: The lowest permissible value.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-11 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 12:04 [PATCH -next] fs_parser: Fix 'name' kernel-doc warning in validate_constant_table() Wang Hai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).