[asterisk-bugs] [DAHDI-linux 0013757]: [patch] wctc4xxp/base.c: WARN is used in 2.6.27

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 5 14:06:37 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13757 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13757
Category:                   dahdi_transcode
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2008-10-21 15:06 CDT
Last Modified:              2008-11-05 14:06 CST
====================================================================== 
Summary:                    [patch] wctc4xxp/base.c: WARN is used in 2.6.27
Description: 
wctc4xxp/base.c fails to build on 2.6.27 because #WARN is already defained
there for something else.

So let's simply replace this with UGLY_WARNING ?

BTW: maybe also add a clarifying printk before that? Two of those WARN are
near-by and it is not trivial to tell from the trace which of the two
generated it.
====================================================================== 

---------------------------------------------------------------------- 
 (0094599) svnbot (reporter) - 2008-11-05 14:06
 http://bugs.digium.com/view.php?id=13757#c94599 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 5237

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

------------------------------------------------------------------------
r5237 | sruffell | 2008-11-05 14:06:37 -0600 (Wed, 05 Nov 2008) | 5 lines

Fix warning messages in order to build on 2.6.27.

(Closes issue http://bugs.digium.com/view.php?id=13757)
Patch provided by tzafrir.

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-05 14:06 svnbot         Checkin                                      
2008-11-05 14:06 svnbot         Note Added: 0094599                          
======================================================================




More information about the asterisk-bugs mailing list