summaryrefslogtreecommitdiffstats
path: root/net/9p/trans_fd.c
diff options
context:
space:
mode:
authorXiongfeng Wang <wangxiongfeng2@huawei.com>2021-03-27 09:15:53 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-29 02:56:56 +0200
commit54e625e3bd1dd59f6d0b95730fa9be2604aceb1c (patch)
treeb803d7b5de252b11764b0e2e0141ed39019a2ef0 /net/9p/trans_fd.c
parentnet: 9p: Correct function name errstr2errno() in the kerneldoc comments (diff)
downloadlinux-54e625e3bd1dd59f6d0b95730fa9be2604aceb1c.tar.xz
linux-54e625e3bd1dd59f6d0b95730fa9be2604aceb1c.zip
9p/trans_fd: Correct function name p9_mux_destroy() in the kerneldoc
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>
Diffstat (limited to '')
-rw-r--r--net/9p/trans_fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index fa158397bb63..f4dd0456beaf 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -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
*
*/