patch-2.2.13 linux/drivers/net/arcnet.c
Next file: linux/drivers/net/atp.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Oct 19 17:14:01 1999
- Orig file:
v2.2.12/linux/drivers/net/arcnet.c
- Orig date:
Mon Aug 9 16:05:56 1999
diff -u --recursive --new-file v2.2.12/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 device *)kmalloc(sizeof(struct 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)