* [PATCH net-next] tipc: correct structure parameter comments for topsrv
@ 2018-09-03 6:08 Zhenbo Gao
2018-09-04 4:44 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Zhenbo Gao @ 2018-09-03 6:08 UTC (permalink / raw)
To: jon.maloy, davem; +Cc: netdev, tipc-discussion, yue.tao
Remove the following obsolete parameter comments of tipc_topsrv struct:
@rcvbuf_cache
@tipc_conn_new
@tipc_conn_release
@tipc_conn_recvmsg
@imp
@type
Add the comments for the missing parameters below of tipc_topsrv struct:
@awork
@listener
Remove the unused or duplicated parameter comments of tipc_conn struct:
@outqueue_lock
@rx_action
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
---
net/tipc/topsrv.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/net/tipc/topsrv.c b/net/tipc/topsrv.c
index c8e34ef..c782b35 100644
--- a/net/tipc/topsrv.c
+++ b/net/tipc/topsrv.c
@@ -57,16 +57,12 @@
* @idr_lock: protect the connection identifier set
* @idr_in_use: amount of allocated identifier entry
* @net: network namspace instance
- * @rcvbuf_cache: memory cache of server receive buffer
+ * @awork: accept work item
* @rcv_wq: receive workqueue
* @send_wq: send workqueue
* @max_rcvbuf_size: maximum permitted receive message length
- * @tipc_conn_new: callback will be called when new connection is incoming
- * @tipc_conn_release: callback will be called before releasing the connection
- * @tipc_conn_recvmsg: callback will be called when message arrives
+ * @listener: topsrv listener socket
* @name: server name
- * @imp: message importance
- * @type: socket type
*/
struct tipc_topsrv {
struct idr conn_idr;
@@ -90,9 +86,7 @@ struct tipc_topsrv {
* @server: pointer to connected server
* @sub_list: lsit to all pertaing subscriptions
* @sub_lock: lock protecting the subscription list
- * @outqueue_lock: control access to the outqueue
* @rwork: receive work item
- * @rx_action: what to do when connection socket is active
* @outqueue: pointer to first outbound message in queue
* @outqueue_lock: control access to the outqueue
* @swork: send work item
--
1.9.1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] tipc: correct structure parameter comments for topsrv
2018-09-03 6:08 [PATCH net-next] tipc: correct structure parameter comments for topsrv Zhenbo Gao
@ 2018-09-04 4:44 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-09-04 4:44 UTC (permalink / raw)
To: zhenbo.gao; +Cc: jon.maloy, tipc-discussion, netdev, ying.xue, yue.tao
From: Zhenbo Gao <zhenbo.gao@windriver.com>
Date: Mon, 3 Sep 2018 14:08:40 +0800
> Remove the following obsolete parameter comments of tipc_topsrv struct:
> @rcvbuf_cache
> @tipc_conn_new
> @tipc_conn_release
> @tipc_conn_recvmsg
> @imp
> @type
>
> Add the comments for the missing parameters below of tipc_topsrv struct:
> @awork
> @listener
>
> Remove the unused or duplicated parameter comments of tipc_conn struct:
> @outqueue_lock
> @rx_action
>
> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
> Reviewed-by: Ying Xue <ying.xue@windriver.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-04 9:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-03 6:08 [PATCH net-next] tipc: correct structure parameter comments for topsrv Zhenbo Gao
2018-09-04 4:44 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).