提交 d4eeb826 编写于 作者: Y Yang Li 提交者: Steve French

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: NAbaci Robot <abaci@linux.alibaba.com>
Acked-by: NNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: NYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: NSteve French <stfrench@microsoft.com>
上级 f5c38139
...@@ -612,7 +612,7 @@ static void destroy_previous_session(struct ksmbd_user *user, u64 id) ...@@ -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 * smb2_get_name() - get filename string from on the wire smb format
* @src: source buffer * @src: source buffer
* @maxlen: maxlen of source string * @maxlen: maxlen of source string
* @nls_table: nls_table pointer * @local_nls: nls_table pointer
* *
* Return: matching converted filename on success, otherwise error ptr * Return: matching converted filename on success, otherwise error ptr
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册