[asterisk-bugs] [DAHDI-linux 0013575]: ‘t1xxp_echocan_with_params’: dahdi-linux-2.0.0-rc4/drivers/dahdi/wcte12xp/base.c:1079: error: size of array ‘type name’ is negat
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Sep 28 01:54:11 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=0013575
======================================================================
Reported By: Ulmo
Assigned To:
======================================================================
Project: DAHDI-linux
Issue ID: 0013575
Category: dahdi (the module)
Reproducibility: always
Severity: block
Priority: normal
Status: new
======================================================================
Date Submitted: 2008-09-28 00:45 CDT
Last Modified: 2008-09-28 01:54 CDT
======================================================================
Summary: ‘t1xxp_echocan_with_params’:
dahdi-linux-2.0.0-rc4/drivers/dahdi/wcte12xp/base.c:1079: error: size of array
‘type name’ is negat
Description:
Fix for http://bugs.digium.com/view.php?id=12787 works:
Index: kernel/wcte12xp/base.c
===================================================================
--- kernel/wcte12xp/base.c (revision 4344)
+++ kernel/wcte12xp/base.c (working copy)
@@ -1061,7 +1061,7 @@
struct adt_lec_params params;
struct t1 *wc = chan->pvt;
struct vpm150m *vpm150m = wc->vpm150m;
- unsigned int flags;
+ unsigned long flags;
struct vpm150m_workentry *work;
unsigned int ret;
Yes, a previously fixed patch for zaptel now affects dahdi. Please
use previous fix on current code!!
======================================================================
----------------------------------------------------------------------
(0092918) svnbot (reporter) - 2008-09-28 01:54
http://bugs.digium.com/view.php?id=13575#c92918
----------------------------------------------------------------------
Repository: dahdi
Revision: 5003
U linux/trunk/drivers/dahdi/wcte12xp/base.c
------------------------------------------------------------------------
r5003 | sruffell | 2008-09-28 01:54:10 -0500 (Sun, 28 Sep 2008) | 5 lines
Fixed type of flags parameter to spin_lock_irqsave functions. Fixes
compilation issues on platforms where int and long do not have the same
size.
Closes Issues http://bugs.digium.com/view.php?id=13575. Reported by Ulmo.
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=5003
Issue History
Date Modified Username Field Change
======================================================================
2008-09-28 01:54 svnbot Checkin
2008-09-28 01:54 svnbot Note Added: 0092918
======================================================================
More information about the asterisk-bugs
mailing list