[dahdi-commits] sruffell: linux/trunk r5848 - /linux/trunk/drivers/dahdi/wctc4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Jan 27 11:23:21 CST 2009
Author: sruffell
Date: Tue Jan 27 11:23:21 2009
New Revision: 5848
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=5848
Log:
Passed wrong size to alloc_netdev.
Related to issue #14285 .
Modified:
linux/trunk/drivers/dahdi/wctc4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=5848&r1=5847&r2=5848
==============================================================================
--- linux/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctc4xxp/base.c Tue Jan 27 11:23:21 2009
@@ -822,7 +822,7 @@
const char our_mac[] = { 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff};
# ifdef HAVE_NETDEV_PRIV
- netdev = alloc_netdev(sizeof(struct wcdte_netdev_priv *),
+ netdev = alloc_netdev(sizeof(struct wcdte_netdev_priv),
wc->board_name, ether_setup);
if (!netdev)
return -ENOMEM;
More information about the dahdi-commits
mailing list