lkml.org 
[lkml]   [2004]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Make IRDA_DEBUG() Calls Uniform in ircomm_{lmp,ttp}.c
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:1.876 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site