mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kurt Wall <kwall@kurtwerks.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: trivial@rustcorp.com.au
Subject: [PATCH] Make IRDA_DEBUG() Calls Uniform in ircomm_{lmp,ttp}.c
Date: Mon, 6 Sep 2004 20:39:27 -0400	[thread overview]
Message-ID: <20040907003927.GB4370@kurtwerks.com> (raw)

While chasing down a kernel janitor task, I found a minor typo/cosmetic
blemish in ircomm_lmp.c and ircomm_ttp.c. The patches below fix two 
IRDA_DEBUG calls to look like all of the other IRDA_DEBUG calls in these 
two files.

Diffed against 2.6.7
Compile tested

Signed-off-by: Kurt Wall <kwall@kurtwerks.com>

diff -Naur linux-2.6.7/net/irda/ircomm/ircomm_lmp.c b/net/irda/ircomm/ircomm_lmp.c
--- linux-2.6.7/net/irda/ircomm/ircomm_lmp.c	2003-12-17 21:58:05.000000000 -0500
+++ b/net/irda/ircomm/ircomm_lmp.c	2004-09-06 20:06:01.000000000 -0400
@@ -64,7 +64,7 @@
 
 	self->lsap = irlmp_open_lsap(LSAP_ANY, &notify, 0);
 	if (!self->lsap) {
-		IRDA_DEBUG(0,"%sfailed to allocate tsap\n", __FUNCTION__ );
+		IRDA_DEBUG(0,"%s(), failed to allocate tsap\n", __FUNCTION__ );
 		return -1;
 	}
 	self->slsap_sel = self->lsap->slsap_sel;
diff -Naur linux-2.6.7/net/irda/ircomm/ircomm_ttp.c b/net/irda/ircomm/ircomm_ttp.c
--- linux-2.6.7/net/irda/ircomm/ircomm_ttp.c	2003-12-17 21:59:41.000000000 -0500
+++ b/net/irda/ircomm/ircomm_ttp.c	2004-09-06 20:07:16.000000000 -0400
@@ -65,7 +65,7 @@
 	self->tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT,
 				     &notify);
 	if (!self->tsap) {
-		IRDA_DEBUG(0, "%sfailed to allocate tsap\n", __FUNCTION__ );
+		IRDA_DEBUG(0, "%s(), failed to allocate tsap\n", __FUNCTION__ );
 		return -1;
 	}
 	self->slsap_sel = self->tsap->stsap_sel;

Regards,

Kurt
-- 
Intolerance is the last defense of the insecure.

                 reply	other threads:[~2004-09-07  0:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040907003927.GB4370@kurtwerks.com \
    --to=kwall@kurtwerks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®