patch-pre2.0.10 linux/drivers/isdn/teles/callc.c

Next file: linux/drivers/isdn/teles/card.c
Previous file: linux/drivers/isdn/teles/buffers.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.9/linux/drivers/isdn/teles/callc.c linux/drivers/isdn/teles/callc.c
@@ -1,6 +1,9 @@
-/* $Id: callc.c,v 1.7 1996/05/17 03:40:37 fritz Exp $
+/* $Id: callc.c,v 1.8 1996/05/31 01:00:38 fritz Exp $
  *
  * $Log: callc.c,v $
+ * Revision 1.8  1996/05/31 01:00:38  fritz
+ * Changed return code of teles_writebuf, when out of memory.
+ *
  * Revision 1.7  1996/05/17 03:40:37  fritz
  * General cleanup.
  *
@@ -1387,7 +1390,7 @@
 
         err = BufPoolGet(&ibh, st->l1.sbufpool, GFP_ATOMIC, st, 21);
         if (err)
-                return (0);
+                return -ENOMEM;
 
         ptr = DATAPTR(ibh);
         if (chanp->lc_b.l2_establish)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this