* [PATCH] 2.5.34 : drivers/net/irda/irtty.c __FUNCTION__ fix
@ 2002-09-09 23:03 Frank Davis
2002-09-09 23:51 ` Jean Tourrilhes
0 siblings, 1 reply; 3+ messages in thread
From: Frank Davis @ 2002-09-09 23:03 UTC (permalink / raw)
To: linux-kernel; +Cc: fdavis, jt, torvalds
Hello all,
The following patch fixes several __FUNCTION__ related errors. Please
review for inclusion.
Regards,
Frank
--- linux/drivers/net/irda/irtty.c.old Thu Jun 20 19:57:59 2002
+++ linux/drivers/net/irda/irtty.c Mon Sep 9 18:51:29 2002
@@ -118,9 +118,7 @@
/* Unregister tty line-discipline */
if ((ret = tty_register_ldisc(N_IRDA, NULL))) {
- ERROR(__FUNCTION__
- "(), can't unregister line discipline (err = %d)\n",
- ret);
+ ERROR("%s (), can't unregister line discipline (err = %d)\n", __FUNCTION, ret);
}
/*
@@ -226,7 +224,7 @@
self->rx_buff.data = self->rx_buff.head;
if (!(dev = dev_alloc("irda%d", &err))) {
- ERROR(__FUNCTION__ "(), dev_alloc() failed!\n");
+ ERROR(" %s (), dev_alloc() failed!\n", __FUNCTION__);
return -ENOMEM;
}
@@ -245,7 +243,7 @@
err = register_netdevice(dev);
rtnl_unlock();
if (err) {
- ERROR(__FUNCTION__ "(), register_netdev() failed!\n");
+ ERROR(" %s (), register_netdev() failed!\n", __FUNCTION__);
return -1;
}
@@ -451,8 +449,7 @@
irda_task_next_state(task, IRDA_TASK_CHILD_DONE);
break;
case IRDA_TASK_CHILD_WAIT:
- WARNING(__FUNCTION__
- "(), changing speed of dongle timed out!\n");
+ WARNING(" %s (), changing speed of dongle timed out!\n", __FUNCTION__);
ret = -1;
break;
case IRDA_TASK_CHILD_DONE:
@@ -463,7 +460,7 @@
self->task = NULL;
break;
default:
- ERROR(__FUNCTION__ "(), unknown state %d\n", task->state);
+ ERROR(" %s (), unknown state %d\n", __FUNCTION__, task->state);
irda_task_next_state(task, IRDA_TASK_DONE);
self->task = NULL;
ret = -1;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] 2.5.34 : drivers/net/irda/irtty.c __FUNCTION__ fix
2002-09-09 23:03 [PATCH] 2.5.34 : drivers/net/irda/irtty.c __FUNCTION__ fix Frank Davis
@ 2002-09-09 23:51 ` Jean Tourrilhes
[not found] ` <m17obc2-0005khC@gherkin.frus.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jean Tourrilhes @ 2002-09-09 23:51 UTC (permalink / raw)
To: Frank Davis; +Cc: linux-kernel, torvalds
On Mon, Sep 09, 2002 at 07:03:53PM -0400, Frank Davis wrote:
> Hello all,
> The following patch fixes several __FUNCTION__ related errors. Please
> review for inclusion.
>
> Regards,
> Frank
I can only promise you to put it in my patch queue (which is
already backlogged). I've already added it on my web page (so I won't
forget it). It would have been nicer to not add a space around the
function name, but who cares.
Please also note that currently irtty is broken, so use at
your own risks...
Thanks...
Jean
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] 2.5.34 : drivers/net/irda/irtty.c __FUNCTION__ fix
[not found] ` <m17obc2-0005khC@gherkin.frus.com>
@ 2002-09-10 16:01 ` Jean Tourrilhes
0 siblings, 0 replies; 3+ messages in thread
From: Jean Tourrilhes @ 2002-09-10 16:01 UTC (permalink / raw)
To: Bob_Tracy; +Cc: Linux kernel mailing list
On Mon, Sep 09, 2002 at 10:22:50PM -0500, Bob_Tracy wrote:
> Jean Tourrilhes wrote:
> > I've already added it on my web page (so I won't
> > forget it).
>
> What's the URL, for those of us who haven't been paying attention?
Google is your friend :
http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/IrDA.html
Jean
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-10 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-09 23:03 [PATCH] 2.5.34 : drivers/net/irda/irtty.c __FUNCTION__ fix Frank Davis
2002-09-09 23:51 ` Jean Tourrilhes
[not found] ` <m17obc2-0005khC@gherkin.frus.com>
2002-09-10 16:01 ` Jean Tourrilhes
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®