Make IRDA_DEBUG() Calls Uniform in ircomm_{lmp,ttp}.c
PATCH 1/1 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 <[email protected]>
net/irda/ircomm/ircomm_lmp.c +1 -1
@@ -64,7 +64,7 @@ self->lsap =irlmp_open_lsap (LSAP_ANY , ¬ify,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;
net/irda/ircomm/ircomm_ttp.c +1 -1
@@ -65,7 +65,7 @@ self->tsap =irttp_open_tsap (LSAP_ANY ,DEFAULT_INITIAL_CREDIT , ¬ify);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
Signature · 1 line
Intolerance is the last defense of the insecure.