diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2024-01-19 12:57:07 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-22 02:13:19 +0300 |
commit | 72b0cbf6b81003c01d63c60180b335f7692d170e (patch) | |
tree | 50b866c04a41ce7701f1a9818abe15d9b9aa17e2 /fs/smb | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
download | linux-72b0cbf6b81003c01d63c60180b335f7692d170e.tar.xz |
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: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb')
-rw-r--r-- | fs/smb/server/transport_tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/server/transport_tcp.c b/fs/smb/server/transport_tcp.c index 9d4222154dcc..002a3f0dc7c5 100644 --- a/fs/smb/server/transport_tcp.c +++ b/fs/smb/server/transport_tcp.c @@ -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 @@ -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 */ |