Fix ISDN return types.

From: davej@codemonkey.org.uk
Date: Wed May 14 2003 - 22:31:05 EST


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/isdn/i4l/isdn_net_lib.c linux-2.5/drivers/isdn/i4l/isdn_net_lib.c
--- bk-linus/drivers/isdn/i4l/isdn_net_lib.c 2003-04-10 06:01:19.000000000 +0100
+++ linux-2.5/drivers/isdn/i4l/isdn_net_lib.c 2003-03-26 19:06:04.000000000 +0000
@@ -1777,6 +1776,7 @@ bhup(struct fsm_inst *fi, int pr, void *
 
         printk(KERN_INFO "%s: disconnected\n", idev->name);
         fsm_change_state(fi, ST_WAIT_DHUP);
+ return 0;
 }
 
 static int
@@ -1898,7 +1898,7 @@ isdn_net_event_callback(struct isdn_slot
 static int
 isdn_net_handle_event(isdn_net_dev *idev, int pr, void *arg)
 {
- fsm_event(&idev->fi, pr, arg);
+ return fsm_event(&idev->fi, pr, arg);
 }
 
 static int
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:55 EST