ksmbd: Fix smb2_set_info_file() kernel-doc comment
mainline inclusion from mainline-5.17-rc1 commit 4bfd9eed category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I60T7G CVE: NA Reference: https://git.kernel.org/torvalds/linux/c/4bfd9eed15e1 ------------------------------- 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:Abaci Robot <abaci@linux.alibaba.com> Fixes: 9496e268 ("ksmbd: add request buffer validation in smb2_set_info") 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:
Jason Yan <yanaijie@huawei.com> Signed-off-by:
Zhong Jinghua <zhongjinghua@huawei.com>
Loading
Please sign in to comment