Commit 2a6edab9 authored by Martin Dalecki's avatar Martin Dalecki Committed by Linus Torvalds

[PATCH] kill warnings 16/19

irlmp_event was abusing __FUCTION__ too.
And of course it appears all red in my gvim as well.
parent 8f0ee7e1
...@@ -510,8 +510,8 @@ static int irlmp_state_disconnected(struct lsap_cb *self, IRLMP_EVENT event, ...@@ -510,8 +510,8 @@ static int irlmp_state_disconnected(struct lsap_cb *self, IRLMP_EVENT event,
IRDA_DEBUG(4, __FUNCTION__ "(), LM_CONNECT_REQUEST\n"); IRDA_DEBUG(4, __FUNCTION__ "(), LM_CONNECT_REQUEST\n");
if (self->conn_skb) { if (self->conn_skb) {
WARNING(__FUNCTION__ WARNING("%s: busy with another request!\n",
"(), busy with another request!\n"); __FUNCTION__);
return -EBUSY; return -EBUSY;
} }
self->conn_skb = skb; self->conn_skb = skb;
...@@ -525,8 +525,8 @@ static int irlmp_state_disconnected(struct lsap_cb *self, IRLMP_EVENT event, ...@@ -525,8 +525,8 @@ static int irlmp_state_disconnected(struct lsap_cb *self, IRLMP_EVENT event,
break; break;
case LM_CONNECT_INDICATION: case LM_CONNECT_INDICATION:
if (self->conn_skb) { if (self->conn_skb) {
WARNING(__FUNCTION__ WARNING("%s: busy with another request!\n",
"(), busy with another request!\n"); __FUNCTION__);
return -EBUSY; return -EBUSY;
} }
self->conn_skb = skb; self->conn_skb = skb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment