patch-2.4.20 linux-2.4.20/net/irda/iriap_event.c
Next file: linux-2.4.20/net/irda/irlan/irlan_client.c
Previous file: linux-2.4.20/net/irda/iriap.c
Back to the patch index
Back to the overall index
- Lines: 175
- Date:
Thu Nov 28 15:53:16 2002
- Orig file:
linux-2.4.19/net/irda/iriap_event.c
- Orig date:
Thu Mar 2 11:41:11 2000
diff -urN linux-2.4.19/net/irda/iriap_event.c linux-2.4.20/net/irda/iriap_event.c
@@ -181,7 +181,7 @@
case IAP_LM_DISCONNECT_INDICATION:
break;
default:
- IRDA_DEBUG(0, __FUNCTION__"(), Unknown event %d\n", event);
+ IRDA_DEBUG(0, "%s(), Unknown event %d\n", __FUNCTION__, event);
break;
}
}
@@ -213,7 +213,7 @@
iriap_next_client_state(self, S_DISCONNECT);
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), Unknown event %d\n", event);
+ IRDA_DEBUG(0, "%s(), Unknown event %d\n", __FUNCTION__, event);
break;
}
}
@@ -262,7 +262,7 @@
iriap_next_call_state(self, S_OUTSTANDING);
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), Unknown event %d\n", event);
+ IRDA_DEBUG(0, "%s(), Unknown event %d\n", __FUNCTION__, event);
if (skb)
dev_kfree_skb(skb);
break;
@@ -278,7 +278,7 @@
static void state_s_calling(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), Not implemented\n");
+ IRDA_DEBUG(0, "%s(), Not implemented\n", __FUNCTION__);
}
/*
@@ -300,7 +300,7 @@
iriap_next_call_state(self, S_WAIT_FOR_CALL);
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), Unknown event %d\n", event);
+ IRDA_DEBUG(0, "%s(), Unknown event %d\n", __FUNCTION__, event);
break;
}
}
@@ -313,7 +313,7 @@
static void state_s_replying(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), Not implemented\n");
+ IRDA_DEBUG(0, "%s(), Not implemented\n", __FUNCTION__);
}
/*
@@ -325,7 +325,7 @@
static void state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), Not implemented\n");
+ IRDA_DEBUG(0, "%s(), Not implemented\n", __FUNCTION__);
}
@@ -338,7 +338,7 @@
static void state_s_wait_active(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), Not implemented\n");
+ IRDA_DEBUG(0, "%s(), Not implemented\n", __FUNCTION__);
}
/**************************************************************************
@@ -362,7 +362,7 @@
case IAP_LM_CONNECT_INDICATION:
tx_skb = dev_alloc_skb(64);
if (tx_skb == NULL) {
- WARNING(__FUNCTION__ "(), unable to malloc!\n");
+ WARNING("%s(), unable to malloc!\n", __FUNCTION__);
return;
}
@@ -385,7 +385,7 @@
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), unknown event %d\n", event);
+ IRDA_DEBUG(0, "%s(), unknown event %d\n", __FUNCTION__, event);
break;
}
}
@@ -399,7 +399,7 @@
static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(4, __FUNCTION__ "()\n");
+ IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
switch (event) {
case IAP_LM_DISCONNECT_INDICATION:
@@ -408,7 +408,7 @@
iriap_next_r_connect_state(self, R_WAITING);
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), unknown event!\n");
+ IRDA_DEBUG(0, "%s(), unknown event!\n", __FUNCTION__);
break;
}
}
@@ -426,13 +426,13 @@
static void state_r_waiting(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), Not implemented\n");
+ IRDA_DEBUG(0, "%s(), Not implemented\n", __FUNCTION__);
}
static void state_r_wait_active(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), Not implemented\n");
+ IRDA_DEBUG(0, "%s(), Not implemented\n", __FUNCTION__);
}
/*
@@ -444,7 +444,7 @@
static void state_r_receiving(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(4, __FUNCTION__ "()\n");
+ IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
switch (event) {
case IAP_RECV_F_LST:
@@ -453,7 +453,7 @@
iriap_call_indication(self, skb);
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), unknown event!\n");
+ IRDA_DEBUG(0, "%s(), unknown event!\n", __FUNCTION__);
break;
}
@@ -468,12 +468,12 @@
static void state_r_execute(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(4, __FUNCTION__ "()\n");
+ IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
ASSERT(skb != NULL, return;);
if (!self || self->magic != IAS_MAGIC) {
- IRDA_DEBUG(0, __FUNCTION__ "(), bad pointer self\n");
+ IRDA_DEBUG(0, "%s(), bad pointer self\n", __FUNCTION__);
return;
}
@@ -488,7 +488,7 @@
irlmp_data_request(self->lsap, skb);
break;
default:
- IRDA_DEBUG(0, __FUNCTION__ "(), unknown event!\n");
+ IRDA_DEBUG(0, "%s(), unknown event!\n", __FUNCTION__);
break;
}
}
@@ -496,7 +496,7 @@
static void state_r_returning(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
- IRDA_DEBUG(0, __FUNCTION__ "(), event=%d\n", event);
+ IRDA_DEBUG(0, "%s(), event=%d\n", __FUNCTION__, event);
switch (event) {
case IAP_RECV_F_LST:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)