summaryrefslogtreecommitdiffstats
path: root/net/irda/af_irda.c
diff options
context:
space:
mode:
authorDave Jones2012-10-04 05:36:13 +0200
committerDavid S. Miller2012-10-04 21:53:48 +0200
commit096895818cbf3382dc318f369e642fb7460ccb26 (patch)
treeccf5c6d8f5bc2bcdaf52ee030117b6c624bd6888 /net/irda/af_irda.c
parentteam: set qdisc_tx_busylock to avoid LOCKDEP splat (diff)
downloadkernel-qcow2-linux-096895818cbf3382dc318f369e642fb7460ccb26.tar.gz
kernel-qcow2-linux-096895818cbf3382dc318f369e642fb7460ccb26.tar.xz
kernel-qcow2-linux-096895818cbf3382dc318f369e642fb7460ccb26.zip
silence some noisy printks in irda
Fuzzing causes these printks to spew constantly. Changing them to DEBUG statements is consistent with other usage in the file, and makes them disappear when CONFIG_IRDA_DEBUG is disabled. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/af_irda.c')
-rw-r--r--net/irda/af_irda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c
index bb738c9f9146..b833677d83d6 100644
--- a/net/irda/af_irda.c
+++ b/net/irda/af_irda.c
@@ -468,7 +468,7 @@ static int irda_open_tsap(struct irda_sock *self, __u8 tsap_sel, char *name)
notify_t notify;
if (self->tsap) {
- IRDA_WARNING("%s: busy!\n", __func__);
+ IRDA_DEBUG(0, "%s: busy!\n", __func__);
return -EBUSY;
}