[svn-commits] kpfleming: branch linux/kpfleming/modular_ec r4393 - /linux/team/kpfleming/mo...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 18 15:58:00 CDT 2008


Author: kpfleming
Date: Wed Jun 18 15:58:00 2008
New Revision: 4393

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4393
Log:
fix an obvious oops

Modified:
    linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c

Modified: linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c?view=diff&rev=4393&r1=4392&r2=4393
==============================================================================
--- linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c Wed Jun 18 15:58:00 2008
@@ -379,7 +379,7 @@
 	}
 
 	if (!(cur = kmalloc(sizeof(*cur), GFP_KERNEL))) {
-			write_unlock(&echocan_list_lock);
+		write_unlock(&echocan_list_lock);
 		return -ENOMEM;
 	}
 
@@ -387,6 +387,7 @@
 
 	cur->ec = ec;
 	cur->owner = owner;
+	INIT_LIST_HEAD(&cur->list);
 
 	list_add_tail(&echocan_list, &cur->list);
 




More information about the svn-commits mailing list