mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
ksmbd: Fix smb2_get_name() kernel-doc comment
[ Upstream commit d4eeb82674 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dd56eb361f
commit
91d7307569
@@ -653,7 +653,7 @@ static void destroy_previous_session(struct ksmbd_conn *conn,
|
||||
* 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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user