summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-12-21 17:07:11 +0800
committerSteve French <stfrench@microsoft.com>2021-12-28 22:47:22 -0600
commite230d013378489bcd4b5589ca1d2a5b91ff8d098 (patch)
tree1c98145069cf89dcfda454983bde9704bee7f156 /fs/ksmbd
parentce53d365378cde71bb6596d79c257e600d951d29 (diff)
downloadlinux-stable-e230d013378489bcd4b5589ca1d2a5b91ff8d098.tar.gz
linux-stable-e230d013378489bcd4b5589ca1d2a5b91ff8d098.tar.bz2
linux-stable-e230d013378489bcd4b5589ca1d2a5b91ff8d098.zip
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: Abaci Robot <abaci@linux.alibaba.com> Fixes: cb4517201b8a ("ksmbd: remove smb2_buf_length in smb2_hdr") 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>
Diffstat (limited to 'fs/ksmbd')
-rw-r--r--fs/ksmbd/smb2pdu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ksmbd/smb2pdu.c b/fs/ksmbd/smb2pdu.c
index 036a0dc86859..08ff4684dee6 100644
--- a/fs/ksmbd/smb2pdu.c
+++ b/fs/ksmbd/smb2pdu.c
@@ -4018,6 +4018,7 @@ err_out2:
* buffer_check_err() - helper function to check buffer errors
* @reqOutputBufferLength: max buffer length expected in command response
* @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
*
* Return: 0 on success, otherwise error