Commit 47d18a9b authored by Weilong Chen's avatar Weilong Chen Committed by David S. Miller

ipv4: ERROR: do not initialise globals to 0 or NULL

Signed-off-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c71151f0
...@@ -38,7 +38,7 @@ MODULE_DESCRIPTION("TCP cwnd snooper"); ...@@ -38,7 +38,7 @@ MODULE_DESCRIPTION("TCP cwnd snooper");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION("1.1"); 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_PARM_DESC(port, "Port to match (0=all)");
module_param(port, int, 0); module_param(port, int, 0);
...@@ -46,7 +46,7 @@ static unsigned int bufsize __read_mostly = 4096; ...@@ -46,7 +46,7 @@ static unsigned int bufsize __read_mostly = 4096;
MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)"); MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)");
module_param(bufsize, uint, 0); 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_PARM_DESC(fwmark, "skb mark to match (0=no mark)");
module_param(fwmark, uint, 0); module_param(fwmark, uint, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment