Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Weilong Chen and committed by
David S. Miller
47d18a9b c71151f0

+2 -2
+2 -2
net/ipv4/tcp_probe.c
··· 38 38 MODULE_LICENSE("GPL"); 39 39 MODULE_VERSION("1.1"); 40 40 41 - static int port __read_mostly = 0; 41 + static int port __read_mostly; 42 42 MODULE_PARM_DESC(port, "Port to match (0=all)"); 43 43 module_param(port, int, 0); 44 44 ··· 46 46 MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)"); 47 47 module_param(bufsize, uint, 0); 48 48 49 - static unsigned int fwmark __read_mostly = 0; 49 + static unsigned int fwmark __read_mostly; 50 50 MODULE_PARM_DESC(fwmark, "skb mark to match (0=no mark)"); 51 51 module_param(fwmark, uint, 0); 52 52