diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2021-09-28 19:56:34 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-09-28 20:51:32 -0500 |
commit | 1018bf24550fd0feec14648309a0aeb62401f4dc (patch) | |
tree | d9f2b8ff5f3b1d7e047363b2f566216fcdcc63c2 /fs | |
parent | b8cf5584ec5b8c67359328b8b03b46657620f304 (diff) | |
download | linux-1018bf24550fd0feec14648309a0aeb62401f4dc.tar.bz2 |
ksmbd: fix documentation for 2 functions
ksmbd_kthread_fn() and create_socket() returns 0 or error code, and not
task_struct/ERR_PTR.
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ksmbd/transport_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ksmbd/transport_tcp.c b/fs/ksmbd/transport_tcp.c index dc15a5ecd2e0..c14320e03b69 100644 --- a/fs/ksmbd/transport_tcp.c +++ b/fs/ksmbd/transport_tcp.c @@ -215,7 +215,7 @@ out_error: * ksmbd_kthread_fn() - listen to new SMB connections and callback server * @p: arguments to forker thread * - * Return: Returns a task_struct or ERR_PTR + * Return: 0 on success, error number otherwise */ static int ksmbd_kthread_fn(void *p) { @@ -387,7 +387,7 @@ static void tcp_destroy_socket(struct socket *ksmbd_socket) /** * create_socket - create socket for ksmbd/0 * - * Return: Returns a task_struct or ERR_PTR + * Return: 0 on success, error number otherwise */ static int create_socket(struct interface *iface) { |