Skip to content
Commit 4bfd9eed authored by Yang Li's avatar Yang Li Committed by Steve French
Browse files

ksmbd: Fix smb2_set_info_file() kernel-doc comment



Fix argument list that the kdoc format and script verified in
smb2_set_info_file().

The warnings were found by running scripts/kernel-doc, which is
caused by using 'make W=1'.
fs/ksmbd/smb2pdu.c:5862: warning: Function parameter or member 'req' not
described in 'smb2_set_info_file'
fs/ksmbd/smb2pdu.c:5862: warning: Excess function parameter 'info_class'
description in 'smb2_set_info_file'

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Fixes: 9496e268

 ("ksmbd: add request buffer validation in smb2_set_info")
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent e230d013
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment