netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment
@ 2018-09-03  8:36 Zhenbo Gao
  2018-09-03  8:36 ` [PATCH net-next 2/2] tipc: correct spelling errors for tipc_topsrv_queue_evt() comments Zhenbo Gao
  2018-09-04  5:03 ` [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Zhenbo Gao @ 2018-09-03  8:36 UTC (permalink / raw)
  To: jon.maloy, davem; +Cc: netdev, tipc-discussion, yue.tao

Trivial fix for two spelling mistakes.

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
---
 net/tipc/bcast.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 9ee6cfe..d802654 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -51,12 +51,12 @@
  * struct tipc_bc_base - base structure for keeping broadcast send state
  * @link: broadcast send link structure
  * @inputq: data input queue; will only carry SOCK_WAKEUP messages
- * @dest: array keeping number of reachable destinations per bearer
+ * @dests: array keeping number of reachable destinations per bearer
  * @primary_bearer: a bearer having links to all broadcast destinations, if any
  * @bcast_support: indicates if primary bearer, if any, supports broadcast
  * @rcast_support: indicates if all peer nodes support replicast
  * @rc_ratio: dest count as percentage of cluster size where send method changes
- * @bc_threshold: calculated drom rc_ratio; if dests > threshold use broadcast
+ * @bc_threshold: calculated from rc_ratio; if dests > threshold use broadcast
  */
 struct tipc_bc_base {
 	struct tipc_link *link;
-- 
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] 4+ messages in thread

* [PATCH net-next 2/2] tipc: correct spelling errors for tipc_topsrv_queue_evt() comments
  2018-09-03  8:36 [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment Zhenbo Gao
@ 2018-09-03  8:36 ` Zhenbo Gao
  2018-09-04  5:03   ` David Miller
  2018-09-04  5:03 ` [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Zhenbo Gao @ 2018-09-03  8:36 UTC (permalink / raw)
  To: jon.maloy, davem; +Cc: netdev, tipc-discussion, yue.tao

tipc_conn_queue_evt -> tipc_topsrv_queue_evt
tipc_send_work -> tipc_conn_send_work
tipc_send_to_sock -> tipc_conn_send_to_sock

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
---
 net/tipc/topsrv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/tipc/topsrv.c b/net/tipc/topsrv.c
index c782b35..d8956f7 100644
--- a/net/tipc/topsrv.c
+++ b/net/tipc/topsrv.c
@@ -307,8 +307,8 @@ static void tipc_conn_send_work(struct work_struct *work)
 	conn_put(con);
 }
 
-/* tipc_conn_queue_evt() - interrupt level call from a subscription instance
- * The queued work is launched into tipc_send_work()->tipc_send_to_sock()
+/* tipc_topsrv_queue_evt() - interrupt level call from a subscription instance
+ * The queued work is launched into tipc_conn_send_work()->tipc_conn_send_to_sock()
  */
 void tipc_topsrv_queue_evt(struct net *net, int conid,
 			   u32 event, struct tipc_event *evt)
-- 
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] 4+ messages in thread

* Re: [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment
  2018-09-03  8:36 [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment Zhenbo Gao
  2018-09-03  8:36 ` [PATCH net-next 2/2] tipc: correct spelling errors for tipc_topsrv_queue_evt() comments Zhenbo Gao
@ 2018-09-04  5:03 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2018-09-04  5:03 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 16:36:45 +0800

> Trivial fix for two spelling mistakes.
> 
> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
> Reviewed-by: Ying Xue <ying.xue@windriver.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next 2/2] tipc: correct spelling errors for tipc_topsrv_queue_evt() comments
  2018-09-03  8:36 ` [PATCH net-next 2/2] tipc: correct spelling errors for tipc_topsrv_queue_evt() comments Zhenbo Gao
@ 2018-09-04  5:03   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2018-09-04  5:03 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 16:36:46 +0800

> tipc_conn_queue_evt -> tipc_topsrv_queue_evt
> tipc_send_work -> tipc_conn_send_work
> tipc_send_to_sock -> tipc_conn_send_to_sock
> 
> Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
> Reviewed-by: Ying Xue <ying.xue@windriver.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-04  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-03  8:36 [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment Zhenbo Gao
2018-09-03  8:36 ` [PATCH net-next 2/2] tipc: correct spelling errors for tipc_topsrv_queue_evt() comments Zhenbo Gao
2018-09-04  5:03   ` David Miller
2018-09-04  5:03 ` [PATCH net-next 1/2] tipc: correct spelling errors for struct tipc_bc_base's comment 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).