Skip to contentSkip to conversation

fs_parser: Fix 'name' kernel-doc warning in validate_constant_table()

PATCH New Wang Hai 1 participant 1 message Sep 11, 2020 VFS

lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 fs_parser: Fix 'name' kernel-doc warning in validate_constant_table()

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.

---
 fs/fs_parser.c | 1 -
 1 file changed, 1 deletion(-)
fs/fs_parser.c +0 -1
index ab53e42a874..a5bd6ea5a03 100644
@@ -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.
Signature · 1 line
2.17.1