Skip to content

Commit

Permalink
silence some noisy printks in irda
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jones authored and David S. Miller committed Oct 4, 2012
1 parent b3c581d commit 0968958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/irda/af_irda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion net/irda/irttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify)
*/
lsap = irlmp_open_lsap(stsap_sel, &ttp_notify, 0);
if (lsap == NULL) {
IRDA_WARNING("%s: unable to allocate LSAP!!\n", __func__);
IRDA_DEBUG(0, "%s: unable to allocate LSAP!!\n", __func__);
return NULL;
}

Expand Down

0 comments on commit 0968958

Please sign in to comment.