diff options
author | Weilong Chen <chenweilong@huawei.com> | 2013-12-23 01:37:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-26 13:43:21 -0500 |
commit | 47d18a9be14e6f5d84e5b241f5ba1a2cd2a6ebdc (patch) | |
tree | e227e41ab810dc06ad30ae4e6ee31fedc39e27e3 /net/ipv4 | |
parent | c71151f05bf6da37a94861c9f181b0b6ff866e6a (diff) |
ipv4: ERROR: do not initialise globals to 0 or NULL
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp_probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c index 8b97d71e193b..1f2d37613c9e 100644 --- a/net/ipv4/tcp_probe.c +++ b/net/ipv4/tcp_probe.c | |||
@@ -38,7 +38,7 @@ MODULE_DESCRIPTION("TCP cwnd snooper"); | |||
38 | MODULE_LICENSE("GPL"); | 38 | MODULE_LICENSE("GPL"); |
39 | MODULE_VERSION("1.1"); | 39 | MODULE_VERSION("1.1"); |
40 | 40 | ||
41 | static int port __read_mostly = 0; | 41 | static int port __read_mostly; |
42 | MODULE_PARM_DESC(port, "Port to match (0=all)"); | 42 | MODULE_PARM_DESC(port, "Port to match (0=all)"); |
43 | module_param(port, int, 0); | 43 | module_param(port, int, 0); |
44 | 44 | ||
@@ -46,7 +46,7 @@ static unsigned int bufsize __read_mostly = 4096; | |||
46 | MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)"); | 46 | MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)"); |
47 | module_param(bufsize, uint, 0); | 47 | module_param(bufsize, uint, 0); |
48 | 48 | ||
49 | static unsigned int fwmark __read_mostly = 0; | 49 | static unsigned int fwmark __read_mostly; |
50 | MODULE_PARM_DESC(fwmark, "skb mark to match (0=no mark)"); | 50 | MODULE_PARM_DESC(fwmark, "skb mark to match (0=no mark)"); |
51 | module_param(fwmark, uint, 0); | 51 | module_param(fwmark, uint, 0); |
52 | 52 | ||