]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ksmbd: fix kernel-doc warnings in smb2_lease_break_noti()
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 23 Jun 2026 20:59:13 +0000 (05:59 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Jun 2026 22:52:42 +0000 (17:52 -0500)
kernel test robot report missing kernel-doc descriptions for the 'wait_ack'
and 'inc_epoch' parameters of smb2_lease_break_noti():

  Warning: fs/smb/server/oplock.c:937 function parameter 'wait_ack' not
   described in 'smb2_lease_break_noti'
  Warning: fs/smb/server/oplock.c:937 function parameter 'inc_epoch' not
   described in 'smb2_lease_break_noti'

Document both parameters to silence the warnings.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/oplock.c

index 673182f243d60125328a7eb319a8ebff4c042d56..31dd9f3479b2158b6748ac6384b9f23ac7531a6b 100644 (file)
@@ -967,6 +967,8 @@ out:
  * smb2_lease_break_noti() - break lease when a new client request
  *                     write lease
  * @opinfo:            contains lease state information
+ * @wait_ack:          wait for lease break acknowledgment from the client
+ * @inc_epoch:         increment the lease epoch before sending the break
  *
  * Return:     0 on success, otherwise error
  */