patch-2.4.5 linux/drivers/net/eql.c
Next file: linux/drivers/net/fealnx.c
Previous file: linux/drivers/net/epic100.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon May 14 23:55:12 2001
- Orig file:
v2.4.4/linux/drivers/net/eql.c
- Orig date:
Wed Apr 18 14:40:06 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/net/eql.c linux/drivers/net/eql.c
@@ -422,6 +422,8 @@
slave_t *s = eql_new_slave ();
equalizer_t *eql =
(equalizer_t *) master_dev->priv;
+ if (!s)
+ return -ENOMEM;
s->dev = slave_dev;
s->priority = srq.priority;
s->priority_bps = srq.priority;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)