Commit 72b0cbf6 authored by Yang Li's avatar Yang Li Committed by Steve French

smb: Fix some kernel-doc comments

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: default avatarYang Li <yang.lee@linux.alibaba.com>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 6613476e
...@@ -365,6 +365,7 @@ static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig, ...@@ -365,6 +365,7 @@ static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig,
* @t: TCP transport instance * @t: TCP transport instance
* @buf: buffer to store read data from socket * @buf: buffer to store read data from socket
* @to_read: number of bytes to read 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, * Return: on success return number of bytes read from socket,
* otherwise return error number * otherwise return error number
...@@ -416,6 +417,7 @@ static void tcp_destroy_socket(struct socket *ksmbd_socket) ...@@ -416,6 +417,7 @@ static void tcp_destroy_socket(struct socket *ksmbd_socket)
/** /**
* create_socket - create socket for ksmbd/0 * create_socket - create socket for ksmbd/0
* @iface: interface to bind the created socket to
* *
* Return: 0 on success, error number otherwise * Return: 0 on success, error number otherwise
*/ */
......
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