Skip to content

Commit

Permalink
smb: Fix some kernel-doc comments
Browse files Browse the repository at this point in the history
Fix some kernel-doc comments to silence the warnings:
fs/smb/server/transport_tcp.c:374: warning: Function parameter or struct member 'max_retries' not described in 'ksmbd_tcp_read'
fs/smb/server/transport_tcp.c:423: warning: Function parameter or struct member 'iface' not described in 'create_socket'

Signed-off-by: Yang Li <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
Yang Li authored and Steve French committed Jan 21, 2024
1 parent 6613476 commit 72b0cbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/smb/server/transport_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig,
* @t: TCP transport instance
* @buf: buffer to store read data from socket
* @to_read: number of bytes to read from socket
* @max_retries: number of retries if reading from socket fails
*
* Return: on success return number of bytes read from socket,
* otherwise return error number
Expand Down Expand Up @@ -416,6 +417,7 @@ static void tcp_destroy_socket(struct socket *ksmbd_socket)

/**
* create_socket - create socket for ksmbd/0
* @iface: interface to bind the created socket to
*
* Return: 0 on success, error number otherwise
*/
Expand Down

0 comments on commit 72b0cbf

Please sign in to comment.