linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 1/4] ksmbd: Fix buffer_check_err() kernel-doc comment
@ 2021-12-21  9:07 Yang Li
  2021-12-21  9:07 ` [PATCH -next 2/4] ksmbd: Fix smb2_set_info_file() " Yang Li
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yang Li @ 2021-12-21  9:07 UTC (permalink / raw)
  To: linkinjeon
  Cc: senozhatsky, sfrench, hyc.lee, linux-cifs, linux-kernel, Yang Li,
	Abaci Robot

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")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/ksmbd/smb2pdu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ksmbd/smb2pdu.c b/fs/ksmbd/smb2pdu.c
index b8b3a4c28b74..ee2bcd02d0d7 100644
--- a/fs/ksmbd/smb2pdu.c
+++ b/fs/ksmbd/smb2pdu.c
@@ -4018,6 +4018,7 @@ int smb2_query_dir(struct ksmbd_work *work)
  * 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
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-21 11:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21  9:07 [PATCH -next 1/4] ksmbd: Fix buffer_check_err() kernel-doc comment Yang Li
2021-12-21  9:07 ` [PATCH -next 2/4] ksmbd: Fix smb2_set_info_file() " Yang Li
2021-12-21 11:39   ` Namjae Jeon
2021-12-21  9:07 ` [PATCH -next 3/4] ksmbd: Delete an invalid arguement description in smb2_populate_readdir_entry() Yang Li
2021-12-21  9:07 ` [PATCH -next 4/4] ksmbd: Fix smb2_get_name() kernel-doc comment Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).