]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: Fix division by zero
authorKarsten Keil <isdn@linux-pingi.de>
Tue, 24 Apr 2012 02:51:51 +0000 (02:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2012 07:10:45 +0000 (03:10 -0400)
commit397a86a897ef0bf51d2babdf61471575a7838cf6
tree355532b0888ff9f1227733dd3f979cde79af5cd3
parentcc4718ff514865d3bbaae5caaa7fe85b16756f96
mISDN: Fix division by zero

If DTMF debug is set and tresh goes under 100, the printk will cause
a division by zero.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/dsp_dtmf.c