diff options
author | Guillaume Knispel <gknispel@proformatique.com> | 2010-10-17 18:10:53 +0200 |
---|---|---|
committer | Guillaume Knispel <gknispel@proformatique.com> | 2010-10-17 18:10:53 +0200 |
commit | a04ce243034c0a4483a9fbfe3b6ffb0bc358b047 (patch) | |
tree | 3044a38e69b15bc2ddeb204ad50035c2486a37e9 | |
parent | 3e04c99471f3029fc1cb4fbdc417bcba00ed4990 (diff) |
only KERN_DEBUG on ICP_STATUS_OVERFLOW in xivo_tdm_deferred_transmit (else still KERN_ERR)
-rw-r--r-- | tdm/xivo_tdm.c | 6 |
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); } |