[Home]

Summary:DAHLIN-00142: [patch] dahdi_echocan_events: anonymous member in dahdi_echocan_events union
Reporter:Yuri (ys)Labels:
Date Opened:2009-09-16 04:54:20Date Closed:2011-01-20 23:29:01.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:dahdi (the module)
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dahdi-dahdi_echocan_events.diff
Description:This is compatibility issue, and likely to have Relationship with DAHLIN-139.

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.


****** ADDITIONAL INFORMATION ******

Affected files:

include/dahdi/kernel.h
drivers/dahdi/dahdi-base.c
Comments:By: Digium Subversion (svnbot) 2010-09-30 10:22:29

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 DAHLIN-142)
Reported by: ys
Patches:
     dahdi-dahdi_echocan_events.diff uploaded by ys (license 281)

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

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

By: Digium Subversion (svnbot) 2011-01-20 23:29:01.000-0600

Repository: dahdi
Revision: 9665

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

------------------------------------------------------------------------
r9665 | sruffell | 2011-01-20 23:29:00 -0600 (Thu, 20 Jan 2011) | 13 lines

dahdi: Anonymous member in dahdi_echocan_events union.

Make explicit what part of the union is being accessed.

(closes issue DAHLIN-142)
Reported by: ys
Patches:
     dahdi-dahdi_echocan_events.diff uploaded by ys (license 281)

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

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9421
------------------------------------------------------------------------

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