Commit e230d013 authored by Yang Li's avatar Yang Li Committed by Steve French

ksmbd: Fix buffer_check_err() kernel-doc comment

Add the description of @rsp_org in buffer_check_err() kernel-doc comment
to remove a warning found by running scripts/kernel-doc, which is caused
by using 'make W=1'.
fs/ksmbd/smb2pdu.c:4028: warning: Function parameter or member 'rsp_org'
not described in 'buffer_check_err'
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Fixes: cb451720 ("ksmbd: remove smb2_buf_length in smb2_hdr")
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 ce53d365
...@@ -4018,6 +4018,7 @@ int smb2_query_dir(struct ksmbd_work *work) ...@@ -4018,6 +4018,7 @@ int smb2_query_dir(struct ksmbd_work *work)
* buffer_check_err() - helper function to check buffer errors * buffer_check_err() - helper function to check buffer errors
* @reqOutputBufferLength: max buffer length expected in command response * @reqOutputBufferLength: max buffer length expected in command response
* @rsp: query info response buffer contains output buffer length * @rsp: query info response buffer contains output buffer length
* @rsp_org: base response buffer pointer in case of chained response
* @infoclass_size: query info class response buffer size * @infoclass_size: query info class response buffer size
* *
* Return: 0 on success, otherwise error * Return: 0 on success, otherwise error
......
Markdown is supported
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