Skip to content

Commit

Permalink
9p/trans_fd: Correct function name p9_mux_destroy() in the kerneldoc
Browse files Browse the repository at this point in the history
Fix the following W=1 kernel build warning(s):

 net/9p/trans_fd.c:881: warning: expecting prototype for p9_mux_destroy(). Prototype was for p9_conn_destroy() instead

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Xiongfeng Wang authored and David S. Miller committed Mar 29, 2021
1 parent 8bf94a9 commit 54e625e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/9p/trans_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ static int p9_socket_open(struct p9_client *client, struct socket *csocket)
}

/**
* p9_mux_destroy - cancels all pending requests of mux
* p9_conn_destroy - cancels all pending requests of mux
* @m: mux to destroy
*
*/
Expand Down

0 comments on commit 54e625e

Please sign in to comment.