projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71151f
)
ipv4: ERROR: do not initialise globals to 0 or NULL
author
Weilong Chen
<chenweilong@huawei.com>
Mon, 23 Dec 2013 06:37:30 +0000
(14:37 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 26 Dec 2013 18:43:21 +0000
(13:43 -0500)
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_probe.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_probe.c
b/net/ipv4/tcp_probe.c
index 8b97d71e193b97cf18e424f01be911e34a614b32..1f2d37613c9e068058171abd53efa8709d63657e 100644
(file)
--- 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);