* [patch][2.5.38] __FUNCTION__ issue (act200l)
@ 2002-09-27 17:13 Aristeu Sergio Rozanski Filho
0 siblings, 0 replies; only message in thread
From: Aristeu Sergio Rozanski Filho @ 2002-09-27 17:13 UTC (permalink / raw)
To: tshimizu; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
hi,
this and next patches are to replace
printk("blah" __FUNCTION__ "blah");
by
printk("blah" "%s" "blah", __FUNCTION__);
that is needed to compile 2.5.38
--
aris
[-- Attachment #2: act200l.patch --]
[-- Type: text/plain, Size: 952 bytes --]
--- linux-2.5.38-vanilla/drivers/net/irda/act200l.c 2002-09-22 01:25:10.000000000 -0300
+++ linux-2.5.38/drivers/net/irda/act200l.c 2002-09-27 11:22:36.000000000 -0300
@@ -106,7 +106,7 @@
static void act200l_open(dongle_t *self, struct qos_info *qos)
{
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
/* Power on the dongle */
self->set_dtr_rts(self->dev, TRUE, TRUE);
@@ -120,7 +120,7 @@
static void act200l_close(dongle_t *self)
{
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
/* Power off the dongle */
self->set_dtr_rts(self->dev, FALSE, FALSE);
@@ -141,7 +141,7 @@
__u8 control[3];
int ret = 0;
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
self->speed_task = task;
@@ -233,7 +233,7 @@
};
int ret = 0;
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
self->reset_task = task;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-27 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-27 17:13 [patch][2.5.38] __FUNCTION__ issue (act200l) Aristeu Sergio Rozanski Filho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).