patch-2.4.22 linux-2.4.22/drivers/net/macsonic.c

Next file: linux-2.4.22/drivers/net/myri_sbus.c
Previous file: linux-2.4.22/drivers/net/macmace.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/macsonic.c linux-2.4.22/drivers/net/macsonic.c
@@ -142,7 +142,7 @@
 
 int __init macsonic_init(struct net_device* dev)
 {
-	struct sonic_local* lp;
+	struct sonic_local* lp = NULL;
 	int i;
 
 	/* Allocate the entire chunk of memory for the descriptors.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)