[Home]

Summary:DAHLIN-00055: [patch] wctc4xxp/base.c: WARN is used in 2.6.27
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2008-10-21 15:06:15Date Closed:2008-11-05 14:07:32.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:dahdi_transcode
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fix_warn.diff
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.
Comments:By: Digium Subversion (svnbot) 2008-11-05 14:06:37.000-0600

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 DAHLIN-55)
Patch provided by tzafrir.

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

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

By: Shaun Ruffell (sruffell) 2008-11-05 14:07:32.000-0600

The patch also had dahdi-dummy commented out....I didn't apply that part of it.