summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-12-21 20:48:57 +0900
committerSteve French <stfrench@microsoft.com>2021-12-28 22:47:22 -0600
commitd4eeb82674acadf789277b577986e8e7d3faf695 (patch)
tree48d86fd8e2fc357e2ba2efe5a5915753bc65d769 /fs/ksmbd
parentf5c381392948dcae19f854b9586b806654f08a11 (diff)
downloadlinux-stable-d4eeb82674acadf789277b577986e8e7d3faf695.tar.gz
linux-stable-d4eeb82674acadf789277b577986e8e7d3faf695.tar.bz2
linux-stable-d4eeb82674acadf789277b577986e8e7d3faf695.zip
ksmbd: Fix smb2_get_name() kernel-doc comment
Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/ksmbd/smb2pdu.c:623: warning: Function parameter or member 'local_nls' not described in 'smb2_get_name' fs/ksmbd/smb2pdu.c:623: warning: Excess function parameter 'nls_table' description in 'smb2_get_name' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd')
-rw-r--r--fs/ksmbd/smb2pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ksmbd/smb2pdu.c b/fs/ksmbd/smb2pdu.c
index 43882f5baa3b..beae94f6033a 100644
--- a/fs/ksmbd/smb2pdu.c
+++ b/fs/ksmbd/smb2pdu.c
@@ -612,7 +612,7 @@ static void destroy_previous_session(struct ksmbd_user *user, u64 id)
* smb2_get_name() - get filename string from on the wire smb format
* @src: source buffer
* @maxlen: maxlen of source string
- * @nls_table: nls_table pointer
+ * @local_nls: nls_table pointer
*
* Return: matching converted filename on success, otherwise error ptr
*/