summaryrefslogtreecommitdiff
path: root/tdm/xivo_tdm.c
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2010-10-17 18:10:53 +0200
committerGuillaume Knispel <gknispel@proformatique.com>2010-10-17 18:10:53 +0200
commita04ce243034c0a4483a9fbfe3b6ffb0bc358b047 (patch)
tree3044a38e69b15bc2ddeb204ad50035c2486a37e9 /tdm/xivo_tdm.c
parent3e04c99471f3029fc1cb4fbdc417bcba00ed4990 (diff)
only KERN_DEBUG on ICP_STATUS_OVERFLOW in xivo_tdm_deferred_transmit (else still KERN_ERR)
Diffstat (limited to 'tdm/xivo_tdm.c')
-rw-r--r--tdm/xivo_tdm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tdm/xivo_tdm.c b/tdm/xivo_tdm.c
index 00cfae9..1424058 100644
--- a/tdm/xivo_tdm.c
+++ b/tdm/xivo_tdm.c
@@ -336,9 +336,11 @@ static void xivo_tdm_deferred_transmit(
if (status != ICP_STATUS_SUCCESS) {
tx_errs++;
if (printk_ratelimit())
- printk(KERN_ERR
- "%s: icp_HssAccTransmit err %d cnum %u "
+ printk("%s%s: icp_HssAccTransmit err %d cnum %u "
"tx_errs %u\n",
+ status == ICP_STATUS_OVERFLOW ?
+ KERN_DEBUG :
+ KERN_ERR,
__func__, (int) status, cnum, tx_errs);
free_osal_buf(osal_buf);
}