[svn-commits] sruffell: linux/trunk r8494 - /linux/trunk/drivers/dahdi/voicebus/voicebus.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Apr 6 18:19:57 CDT 2010
Author: sruffell
Date: Tue Apr 6 18:19:56 2010
New Revision: 8494
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8494
Log:
voicebus: Change WARN_ON_ONCE to BUG_ON.
WARN_ON_ONCE is not defined in 2.6.9, and this condition would be catastrophic
anyway if it were to occur.
Modified:
linux/trunk/drivers/dahdi/voicebus/voicebus.c
Modified: linux/trunk/drivers/dahdi/voicebus/voicebus.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=8494&r1=8493&r2=8494
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/voicebus.c Tue Apr 6 18:19:56 2010
@@ -1284,7 +1284,7 @@
int count = DEFAULT_COUNT;
u32 des0 = 0;
- WARN_ON_ONCE(NORMAL != vb->mode);
+ BUG_ON(NORMAL != vb->mode);
/* First, temporarily store any non-idle buffers that the hardware has
* indicated it's finished transmitting. Non idle buffers are those
* buffers that contain actual data and was filled out by the client
More information about the svn-commits
mailing list