From: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
To: tshimizu@ga2.so-net.ne.jp
Cc: linux-kernel@vger.kernel.org
Subject: [patch][2.5.38] __FUNCTION__ issue (act200l)
Date: Fri, 27 Sep 2002 14:13:22 -0300 [thread overview]
Message-ID: <20020927171322.GN20649@cathedrallabs.org> (raw)
[-- 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;
reply other threads:[~2002-09-27 17:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020927171322.GN20649@cathedrallabs.org \
--to=aris@cathedrallabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tshimizu@ga2.so-net.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®