[asterisk-bugs] [DAHDI-linux 0014285]: wctc4xxp fails building with kernel 2.6.29-rc2

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 27 11:22:43 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14285 
====================================================================== 
Reported By:                tzafrir
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14285
Category:                   dahdi_transcode
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-20 04:47 CST
Last Modified:              2009-01-27 11:22 CST
====================================================================== 
Summary:                    wctc4xxp fails building with kernel 2.6.29-rc2
Description: 
When building dahdi or zaptel with kernel 2.6.29-rc2 I get the following
error:

dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_set_multi’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:619: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_up’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:627: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_down’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:642: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_hard_start_xmit’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:659: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_poll’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:720: warning: passing argument 1
of ‘netif_rx_complete’ from incompatible pointer type
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:720: error: too many arguments
to function ‘netif_rx_complete’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_get_stats’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:729: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_ioctl’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:766: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_register’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:802: error: ‘struct
net_device’ has no member named ‘priv’
dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_capture_cmd’:
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:894: warning: passing argument 1
of ‘netif_rx_schedule’ from incompatible pointer type
dahdi-linux/drivers/dahdi/wctc4xxp/base.c:894: error: too many arguments
to function ‘netif_rx_schedule’
====================================================================== 

---------------------------------------------------------------------- 
 (0098863) svnbot (reporter) - 2009-01-27 11:22
 http://bugs.digium.com/view.php?id=14285#c98863 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 5848

U   linux/trunk/drivers/dahdi/wctc4xxp/base.c

------------------------------------------------------------------------
r5848 | sruffell | 2009-01-27 11:22:42 -0600 (Tue, 27 Jan 2009) | 3 lines

Passed wrong size to alloc_netdev.
Related to issue http://bugs.digium.com/view.php?id=14285 .

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=5848 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 11:22 svnbot         Checkin                                      
2009-01-27 11:22 svnbot         Note Added: 0098863                          
======================================================================




More information about the asterisk-bugs mailing list