netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chun Long <long.chun@zte.com.cn>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, zhong.weidong@zte.com.cn,
	wang.liang82@zte.com.cn, jiang.biao2@zte.com.cn,
	cai.qu@zte.com.cn, long.chun@zte.com.cn
Subject: [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes
Date: Tue, 14 Mar 2017 15:26:24 +0800	[thread overview]
Message-ID: <1489476384-16892-1-git-send-email-long.chun@zte.com.cn> (raw)

From: chun Long <long.chun@zte.com.cn>

replace comma to semi colons in tcp_westwood_info().

---
 net/ipv4/tcp_westwood.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/tcp_westwood.c b/net/ipv4/tcp_westwood.c
index fed66dc..9775453 100644
--- a/net/ipv4/tcp_westwood.c
+++ b/net/ipv4/tcp_westwood.c
@@ -265,8 +265,8 @@ static size_t tcp_westwood_info(struct sock *sk, u32 ext, int *attr,
 	if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) {
 		info->vegas.tcpv_enabled = 1;
 		info->vegas.tcpv_rttcnt	= 0;
-		info->vegas.tcpv_rtt	= jiffies_to_usecs(ca->rtt),
-		info->vegas.tcpv_minrtt	= jiffies_to_usecs(ca->rtt_min),
+		info->vegas.tcpv_rtt	= jiffies_to_usecs(ca->rtt);
+		info->vegas.tcpv_minrtt	= jiffies_to_usecs(ca->rtt_min);
 
 		*attr = INET_DIAG_VEGASINFO;
 		return sizeof(struct tcpvegas_info);
-- 
1.8.3.1

             reply	other threads:[~2017-03-14  7:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14  7:26 Chun Long [this message]
2017-03-14 16:29 ` [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes Stephen Hemminger
2017-03-17  3:24 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489476384-16892-1-git-send-email-long.chun@zte.com.cn \
    --to=long.chun@zte.com.cn \
    --cc=cai.qu@zte.com.cn \
    --cc=davem@davemloft.net \
    --cc=jiang.biao2@zte.com.cn \
    --cc=netdev@vger.kernel.org \
    --cc=wang.liang82@zte.com.cn \
    --cc=zhong.weidong@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).