[dahdi-commits] sruffell: linux/trunk r10379 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Dec 14 13:02:52 CST 2011
Author: sruffell
Date: Wed Dec 14 13:02:48 2011
New Revision: 10379
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10379
Log:
dahdi: Return dahdi_span_ops.startup callback errors to userspace.
Allows dahdi_cfg to return an error code if a board driver fails it's startup
call for any reason.
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=10379&r1=10378&r2=10379
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Wed Dec 14 13:02:48 2011
@@ -4877,7 +4877,7 @@
__dahdi_find_master_span();
}
put_span(s);
- return 0;
+ return res;
}
static int dahdi_ioctl_shutdown(unsigned long data)
More information about the dahdi-commits
mailing list