Commit 03ff7371 authored by Xiongfeng Wang's avatar Xiongfeng Wang Committed by David S. Miller

net: 9p: Correct function names in the kerneldoc comments

Fix the following W=1 kernel build warning(s):

 net/9p/client.c:133: warning: expecting prototype for parse_options(). Prototype was for parse_opts() instead
 net/9p/client.c:269: warning: expecting prototype for p9_req_alloc(). Prototype was for p9_tag_alloc() instead
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54e625e3
...@@ -122,7 +122,7 @@ static int get_protocol_version(char *s) ...@@ -122,7 +122,7 @@ static int get_protocol_version(char *s)
} }
/** /**
* parse_options - parse mount options into client structure * parse_opts - parse mount options into client structure
* @opts: options string passed from mount * @opts: options string passed from mount
* @clnt: existing v9fs client information * @clnt: existing v9fs client information
* *
...@@ -256,7 +256,7 @@ EXPORT_SYMBOL(p9_fcall_fini); ...@@ -256,7 +256,7 @@ EXPORT_SYMBOL(p9_fcall_fini);
static struct kmem_cache *p9_req_cache; static struct kmem_cache *p9_req_cache;
/** /**
* p9_req_alloc - Allocate a new request. * p9_tag_alloc - Allocate a new request.
* @c: Client session. * @c: Client session.
* @type: Transaction type. * @type: Transaction type.
* @max_size: Maximum packet size for this request. * @max_size: Maximum packet size for this request.
......
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