mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fix ISDN return types.
@ 2003-05-15  3:31 davej
  0 siblings, 0 replies; only message in thread
From: davej @ 2003-05-15  3:31 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-15  3:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-15  3:31 Fix ISDN return types davej

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome