lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 9 Feb 2007 17:33:11 +0200
From:	Alon Bar-Lev <alon.barlev@...il.com>
To:	linux-kernel@...r.kernel.org, akpm@...l.org, bwalle@...e.de,
	rmk+lkml@....linux.org.uk, patrick@...epenguin.com,
	davem@...emloft.net, kuznet@....inr.ac.ru, pekkas@...core.fi,
	jmorris@...ei.org
Subject: [PATCH 29/34] __initdata cleanup - net


Trivial.

Signed-off-by: Alon Bar-Lev <alon.barlev@...il.com>
Signed-off-by: Bernhard Walle <bwalle@...e.de>

---

diff -urNp linux-2.6.20-rc6-mm3.org/net/decnet/dn_dev.c linux-2.6.20-rc6-mm3/net/decnet/dn_dev.c
--- linux-2.6.20-rc6-mm3.org/net/decnet/dn_dev.c	2007-01-31 22:15:42.000000000 +0200
+++ linux-2.6.20-rc6-mm3/net/decnet/dn_dev.c	2007-01-31 22:19:30.000000000 +0200
@@ -1461,7 +1461,7 @@ static struct rtnetlink_link dnet_rtnetl
 
 };
 
-static int __initdata addr[2];
+static int __initdata addr[2] = {0, 0};
 module_param_array(addr, int, NULL, 0444);
 MODULE_PARM_DESC(addr, "The DECnet address of this machine: area,node");
 
diff -urNp linux-2.6.20-rc6-mm3.org/net/ipv4/route.c linux-2.6.20-rc6-mm3/net/ipv4/route.c
--- linux-2.6.20-rc6-mm3.org/net/ipv4/route.c	2007-01-31 22:15:42.000000000 +0200
+++ linux-2.6.20-rc6-mm3/net/ipv4/route.c	2007-01-31 22:19:30.000000000 +0200
@@ -3103,7 +3103,7 @@ static int ip_rt_acct_read(char *buffer,
 #endif /* CONFIG_PROC_FS */
 #endif /* CONFIG_NET_CLS_ROUTE */
 
-static __initdata unsigned long rhash_entries;
+static __initdata unsigned long rhash_entries = 0l;
 static int __init set_rhash_entries(char *str)
 {
 	if (!str)
diff -urNp linux-2.6.20-rc6-mm3.org/net/ipv4/tcp.c linux-2.6.20-rc6-mm3/net/ipv4/tcp.c
--- linux-2.6.20-rc6-mm3.org/net/ipv4/tcp.c	2007-01-31 22:15:42.000000000 +0200
+++ linux-2.6.20-rc6-mm3/net/ipv4/tcp.c	2007-01-31 22:19:30.000000000 +0200
@@ -2385,7 +2385,7 @@ EXPORT_SYMBOL(__tcp_put_md5sig_pool);
 extern void __skb_cb_too_small_for_tcp(int, int);
 extern struct tcp_congestion_ops tcp_reno;
 
-static __initdata unsigned long thash_entries;
+static __initdata unsigned long thash_entries = 0l;
 static int __init set_thash_entries(char *str)
 {
 	if (!str)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ