Skip to content

Commit

Permalink
net: 9p: Correct function names in the kerneldoc comments
Browse files Browse the repository at this point in the history
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: Hulk Robot <[email protected]>
Signed-off-by: Xiongfeng Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
fenghusthu authored and davem330 committed Mar 29, 2021
1 parent 54e625e commit 03ff737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/9p/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @clnt: existing v9fs client information
*
Expand Down Expand Up @@ -256,7 +256,7 @@ EXPORT_SYMBOL(p9_fcall_fini);
static struct kmem_cache *p9_req_cache;

/**
* p9_req_alloc - Allocate a new request.
* p9_tag_alloc - Allocate a new request.
* @c: Client session.
* @type: Transaction type.
* @max_size: Maximum packet size for this request.
Expand Down

0 comments on commit 03ff737

Please sign in to comment.