patch-2.3.16 linux/drivers/net/arcnet.c
Next file: linux/drivers/net/arlan.c
Previous file: linux/drivers/net/8390.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 30 10:29:44 1999
- Orig file:
v2.3.15/linux/drivers/net/arcnet.c
- Orig date:
Wed Aug 18 11:36:41 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/net/arcnet.c linux/drivers/net/arcnet.c
@@ -472,7 +472,7 @@
#ifdef CONFIG_ARCNET_1051
/* Initialize the RFC1051-encap protocol driver */
lp->sdev=(struct net_device *)kmalloc(sizeof(struct net_device)+10,GFP_KERNEL);
- if(lp->sdev = NULL)
+ if(lp->sdev == NULL)
{
if(lp->edev)
kfree(lp->edev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)