[asterisk-bugs] [DAHDI-linux 0015908]: [patch] dahdi_echocan_events: anonymous member in dahdi_echocan_events union

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 30 10:22:30 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15908 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15908
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2009-09-16 04:54 CDT
Last Modified:              2010-09-30 10:22 CDT
====================================================================== 
Summary:                    [patch] dahdi_echocan_events: anonymous member in
dahdi_echocan_events union
Description: 
This is compatibility issue, and likely to have Relationship with
https://issues.asterisk.org/view.php?id=15877.

In the process of working with BSD port of part new echocan dahdi
interface,
I get the warning about anonymous member in dahdi_echocan_events union:

in kernel.h:
warning: declaration does not declare anything

and later an error:

in dahdi-base.c:
error: union has no member named `CED_tx_detected'

I just added the name for the object and rectify this warning and error.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015877 [patch] FreeBSD port
related to          0014499 Ioctl  defination in dahdi
====================================================================== 

---------------------------------------------------------------------- 
 (0127539) svnbot (reporter) - 2010-09-30 10:22
 https://issues.asterisk.org/view.php?id=15908#c127539 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9421

U   linux/trunk/drivers/dahdi/dahdi-base.c
U   linux/trunk/include/dahdi/kernel.h

------------------------------------------------------------------------
r9421 | sruffell | 2010-09-30 10:22:28 -0500 (Thu, 30 Sep 2010) | 11 lines

dahdi: Anonymous member in dahdi_echocan_events union.

Make explicit what part of the union is being accessed.

(closes issue https://issues.asterisk.org/view.php?id=15908)
Reported by: ys
Patches:
      dahdi-dahdi_echocan_events.diff uploaded by ys (license 281)

Signed-off-by: Kinsey Moore <kmoore at digium.com>
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
------------------------------------------------------------------------

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-30 10:22 svnbot         Checkin                                      
2010-09-30 10:22 svnbot         Note Added: 0127539                          
======================================================================




More information about the asterisk-bugs mailing list