patch-2.4.0-test8 linux/drivers/net/3c503.c
Next file: linux/drivers/net/8139too.c
Previous file: linux/drivers/media/video/zr36120.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Sep 5 12:57:51 2000
- Orig file:
v2.4.0-test7/linux/drivers/net/3c503.c
- Orig date:
Fri Jun 23 21:55:09 2000
diff -u --recursive --new-file v2.4.0-test7/linux/drivers/net/3c503.c linux/drivers/net/3c503.c
@@ -190,6 +190,9 @@
if (dev == NULL) {
printk("3c503.c: Passed a NULL device.\n");
dev = init_etherdev(0, 0);
+
+ if (!dev)
+ return -ENOMEM;
}
if (ei_debug && version_printed++ == 0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)