Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09689581 authored by Dave Jones's avatar Dave Jones Committed by David S. Miller
Browse files

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: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3c581d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -468,7 +468,7 @@ static int irda_open_tsap(struct irda_sock *self, __u8 tsap_sel, char *name)
	notify_t notify;
	notify_t notify;


	if (self->tsap) {
	if (self->tsap) {
		IRDA_WARNING("%s: busy!\n", __func__);
		IRDA_DEBUG(0, "%s: busy!\n", __func__);
		return -EBUSY;
		return -EBUSY;
	}
	}


+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
	lsap = irlmp_open_lsap(stsap_sel, &ttp_notify, 0);
	if (lsap == NULL) {
	if (lsap == NULL) {
		IRDA_WARNING("%s: unable to allocate LSAP!!\n", __func__);
		IRDA_DEBUG(0, "%s: unable to allocate LSAP!!\n", __func__);
		return NULL;
		return NULL;
	}
	}