netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen Weilong <chenweilong@huawei.com>
To: <davem@davemloft.net>, <kuznet@ms2.inr.ac.ru>,
	<jmorris@namei.org>, <yoshfuji@linux-ipv6.org>, <kaber@trash.net>,
	<steffen.klassert@secunet.com>, <herbert@gondor.apana.org.au>
Cc: <netdev@vger.kernel.org>, <netfilter-devel@vger.kernel.org>,
	<netfilter@vger.kernel.org>
Subject: [resend patch net-next v3 5/7] ipv4: ERROR: do not initialise globals to 0 or NULL
Date: Mon, 23 Dec 2013 14:37:30 +0800	[thread overview]
Message-ID: <1387780652-16232-6-git-send-email-chenweilong@huawei.com> (raw)
In-Reply-To: <1387780652-16232-1-git-send-email-chenweilong@huawei.com>

From: Weilong Chen <chenweilong@huawei.com>

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
---
 net/ipv4/tcp_probe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c
index 8b97d71..1f2d376 100644
--- a/net/ipv4/tcp_probe.c
+++ b/net/ipv4/tcp_probe.c
@@ -38,7 +38,7 @@ MODULE_DESCRIPTION("TCP cwnd snooper");
 MODULE_LICENSE("GPL");
 MODULE_VERSION("1.1");
 
-static int port __read_mostly = 0;
+static int port __read_mostly;
 MODULE_PARM_DESC(port, "Port to match (0=all)");
 module_param(port, int, 0);
 
@@ -46,7 +46,7 @@ static unsigned int bufsize __read_mostly = 4096;
 MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)");
 module_param(bufsize, uint, 0);
 
-static unsigned int fwmark __read_mostly = 0;
+static unsigned int fwmark __read_mostly;
 MODULE_PARM_DESC(fwmark, "skb mark to match (0=no mark)");
 module_param(fwmark, uint, 0);
 
-- 
1.7.12

  parent reply	other threads:[~2013-12-23  6:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23  6:37 [resend patch net-next v3 0/7] fix checkpatch errors Chen Weilong
2013-12-23  6:37 ` [resend patch net-next v3 1/7] ipv4: do clean up with spaces Chen Weilong
2013-12-23  6:37 ` [resend patch net-next v3 2/7] ipv4: fix checkpatch error "space prohibited" Chen Weilong
2013-12-23  6:37 ` [resend patch net-next v3 3/7] ipv4: fix checkpatch error with foo * bar Chen Weilong
2013-12-23  6:37 ` [resend patch net-next v3 4/7] ipv4: fix all space errors in file igmp.c Chen Weilong
2013-12-23  6:37 ` Chen Weilong [this message]
2013-12-23  6:37 ` [resend patch net-next v3 6/7] ipv4: ERROR: code indent should use tabs where possible Chen Weilong
2013-12-23  6:37 ` [resend patch net-next v3 7/7] ipv4: ipv4: Cleanup the comments in tcp_yeah.c Chen Weilong

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=1387780652-16232-6-git-send-email-chenweilong@huawei.com \
    --to=chenweilong@huawei.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=jmorris@namei.org \
    --cc=kaber@trash.net \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    --cc=yoshfuji@linux-ipv6.org \
    /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).