[dahdi-commits] kpfleming: branch linux/kpfleming/modular_ec r4396 - /linux/team/kpfleming/mo...

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Jun 18 16:34:01 CDT 2008


Author: kpfleming
Date: Wed Jun 18 16:34:00 2008
New Revision: 4396

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4396
Log:
fix up some messages, and insert into the ec list properly

Modified:
    linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c
    linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_jpah.c
    linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_sec.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=4396&r1=4395&r2=4396
==============================================================================
--- linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi-base.c Wed Jun 18 16:34:00 2008
@@ -389,7 +389,7 @@
 	cur->owner = owner;
 	INIT_LIST_HEAD(&cur->list);
 
-	list_add_tail(&echocan_list, &cur->list);
+	list_add_tail(&cur->list, &echocan_list);
 
 	write_unlock(&echocan_list_lock);
 

Modified: linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_jpah.c
URL: http://svn.digium.com/view/dahdi/linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_jpah.c?view=diff&rev=4396&r1=4395&r2=4396
==============================================================================
--- linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_jpah.c (original)
+++ linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_jpah.c Wed Jun 18 16:34:00 2008
@@ -104,10 +104,12 @@
 static int __init mod_init(void)
 {
 	if (dahdi_register_echocan(&me, THIS_MODULE)) {
-		module_printk(KERN_ERR, "could not register with DAHDI core");
+		module_printk(KERN_ERR, "could not register with DAHDI core\n");
 
 		return -EPERM;
 	}
+
+	module_printk(KERN_NOTICE, "Registered echo canceler '%s'\n", me.name);
 
 	return 0;
 }

Modified: linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_sec.c
URL: http://svn.digium.com/view/dahdi/linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_sec.c?view=diff&rev=4396&r1=4395&r2=4396
==============================================================================
--- linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_sec.c (original)
+++ linux/team/kpfleming/modular_ec/drivers/dahdi/dahdi_echocan_sec.c Wed Jun 18 16:34:00 2008
@@ -311,10 +311,12 @@
 static int __init mod_init(void)
 {
 	if (dahdi_register_echocan(&me, THIS_MODULE)) {
-		module_printk(KERN_ERR, "could not register with DAHDI core");
+		module_printk(KERN_ERR, "could not register with DAHDI core\n");
 
 		return -EPERM;
 	}
+
+	module_printk(KERN_NOTICE, "Registered echo canceler '%s'\n", me.name);
 
 	return 0;
 }




More information about the dahdi-commits mailing list